Author: djg
Date: Mon Jul 23 17:29:58 2018
New Revision: 337783
URL: http://llvm.org/viewvc/llvm-project?rev=337783&view=rev
Log:
[WebAssembly] Change size_t to `unsigned long`.
Changing it to unsigned long (which is 32-bit on wasm32) makes it the same
type as wasm64 (where unsigned long is 64-bi
Author: djg
Date: Tue Jun 6 21:22:40 2017
New Revision: 304859
URL: http://llvm.org/viewvc/llvm-project?rev=304859&view=rev
Log:
[WebAssembly] Set MaxAtomicInlineWidth to 64.
The WebAssembly threads proposal has changed such that C++
implementations can now declare that atomics up to 64 bits are
Author: djg
Date: Thu May 31 17:05:51 2018
New Revision: 333712
URL: http://llvm.org/viewvc/llvm-project?rev=333712&view=rev
Log:
[WebAssembly] Update to the new names for the memory builtin functions.
The WebAssembly committee has decided on the names `memory.size` and
`memory.grow` for the memo
Author: djg
Date: Mon Jan 14 10:28:10 2019
New Revision: 351089
URL: http://llvm.org/viewvc/llvm-project?rev=351089&view=rev
Log:
[WebAssembly] Remove old builtins
This removes the old grow_memory and mem.grow-style builtins, leaving just
the memory.grow-style builtins.
Differential Revision: ht
Author: djg
Date: Mon Jan 14 22:58:16 2019
New Revision: 351164
URL: http://llvm.org/viewvc/llvm-project?rev=351164&view=rev
Log:
[WebAssembly] Support multilibs for wasm32 and add a wasm OS that uses it
This adds support for multilib paths for wasm32 targets, following
[Debian's Multiarch conven
Author: djg
Date: Tue Jan 15 21:23:57 2019
New Revision: 351298
URL: http://llvm.org/viewvc/llvm-project?rev=351298&view=rev
Log:
[WebAssembly] COWS has been renamed to WASI.
Modified:
cfe/trunk/lib/Basic/Targets.cpp
cfe/trunk/test/Driver/wasm-toolchain.c
cfe/trunk/test/Driver/wasm-to
Author: djg
Date: Thu Jan 24 12:31:11 2019
New Revision: 352099
URL: http://llvm.org/viewvc/llvm-project?rev=352099&view=rev
Log:
[WebAssembly] Factor commonality between wasm32 and wasm64 in
test/Preprocessor/init.c
Use the -check-prefixes= feature to merge most of the WEBASSEMBLY32 and
WEBASSE
Author: djg
Date: Thu Jan 24 12:33:28 2019
New Revision: 352100
URL: http://llvm.org/viewvc/llvm-project?rev=352100&view=rev
Log:
[WebAssembly] Support __float128
This enables support for the "__float128" keyword.
Differential Revision: https://reviews.llvm.org/D57154
Modified:
cfe/trunk/li
Author: djg
Date: Thu Jan 24 13:05:11 2019
New Revision: 352105
URL: http://llvm.org/viewvc/llvm-project?rev=352105&view=rev
Log:
[WebAssembly] Add a __wasi__ target macro
This adds a `__wasi__` macro for the wasi OS, similar to `__linux__` etc. for
other OS's.
Differential Revision: https://rev
Author: djg
Date: Thu Jan 24 13:08:30 2019
New Revision: 352106
URL: http://llvm.org/viewvc/llvm-project?rev=352106&view=rev
Log:
[WebAssembly] Add an import_module function attribute
This adds a C/C++ attribute which corresponds to the LLVM IR wasm-import-module
attribute. It allows code to spec
Author: djg
Date: Thu Jan 24 13:20:03 2019
New Revision: 352108
URL: http://llvm.org/viewvc/llvm-project?rev=352108&view=rev
Log:
[WebAssembly] Add WebAssemblyImportModule to
pragma-attribute-supported-attributes-list.test
Modified:
cfe/trunk/test/Misc/pragma-attribute-supported-attributes-l
On Fri, Mar 15, 2019 at 10:55 AM Aaron Ballman
wrote:
>
> Ping.
>
I apologize for the extraordinarily delays here. I've now posted a patch to
address the review comments here:
https://reviews.llvm.org/D59520
Dan
___
cfe-commits mailing list
cfe-commi
Author: djg
Date: Tue Apr 30 16:06:07 2019
New Revision: 359630
URL: http://llvm.org/viewvc/llvm-project?rev=359630&view=rev
Log:
[WebAssembly] Use the "wasm32-wasi" triple in tests
Similar to https://reviews.llvm.org/D61334, update clang tests to use the
"wasm32-wasi" triple, removing the "-musl
Author: djg
Date: Fri Feb 1 14:25:23 2019
New Revision: 352930
URL: http://llvm.org/viewvc/llvm-project?rev=352930&view=rev
Log:
[WebAssembly] Add an import_field function attribute
This is similar to import_module, but sets the import field name
instead.
By default, the import field name is th
Author: djg
Date: Fri Feb 1 14:52:29 2019
New Revision: 352936
URL: http://llvm.org/viewvc/llvm-project?rev=352936&view=rev
Log:
[WebAssembly] Fix ImportName's position in this test.
This is a follow-up to r352930.
Modified:
cfe/trunk/test/Misc/pragma-attribute-supported-attributes-list.te
On Fri, Feb 1, 2019 at 2:31 PM Aaron Ballman wrote:
> On Fri, Feb 1, 2019 at 5:25 PM Dan Gohman via cfe-commits
> wrote:
> >
> > Author: djg
> > Date: Fri Feb 1 14:25:23 2019
> > New Revision: 352930
> >
> > URL: http://llvm.org/viewvc/llvm-project?rev
On Tue, Feb 5, 2019 at 11:20 AM Aaron Ballman
wrote:
> On Fri, Feb 1, 2019 at 8:27 PM Dan Gohman wrote:
> >
> >
> > Indeed, and the existing import_module attribute needs these tests as
> well. I'll write some and add them in a follow-up patch.
> >
> > Thanks for the review!
>
> Any time! I hav
Author: Dan Gohman
Date: 2020-06-03T14:02:47-07:00
New Revision: d496437a0bfd6d135343026cdb7b6a69cb6af536
URL:
https://github.com/llvm/llvm-project/commit/d496437a0bfd6d135343026cdb7b6a69cb6af536
DIFF:
https://github.com/llvm/llvm-project/commit/d496437a0bfd6d135343026cdb7b6a69cb6af536.diff
LO
Author: Dan Gohman
Date: 2020-06-04T16:04:44-07:00
New Revision: 072192d54aa0a5c4bb694be8280dd4fef495b582
URL:
https://github.com/llvm/llvm-project/commit/072192d54aa0a5c4bb694be8280dd4fef495b582
DIFF:
https://github.com/llvm/llvm-project/commit/072192d54aa0a5c4bb694be8280dd4fef495b582.diff
LO
Author: Dan Gohman
Date: 2020-06-05T11:27:51-07:00
New Revision: 931fcd3ba011c27626a95e5e35b657763284882a
URL:
https://github.com/llvm/llvm-project/commit/931fcd3ba011c27626a95e5e35b657763284882a
DIFF:
https://github.com/llvm/llvm-project/commit/931fcd3ba011c27626a95e5e35b657763284882a.diff
LO
Author: Dan Gohman
Date: 2020-06-05T11:52:11-07:00
New Revision: 3aec298349fbc901a51b47004fb156090b3d6bce
URL:
https://github.com/llvm/llvm-project/commit/3aec298349fbc901a51b47004fb156090b3d6bce
DIFF:
https://github.com/llvm/llvm-project/commit/3aec298349fbc901a51b47004fb156090b3d6bce.diff
LO
Author: Dan Gohman
Date: 2020-06-05T14:32:51-07:00
New Revision: 0d4e243456809eabd6914669753eda242b5da4cb
URL:
https://github.com/llvm/llvm-project/commit/0d4e243456809eabd6914669753eda242b5da4cb
DIFF:
https://github.com/llvm/llvm-project/commit/0d4e243456809eabd6914669753eda242b5da4cb.diff
LO
Author: Dan Gohman
Date: 2020-06-12T19:52:35-07:00
New Revision: 66042959590d6db9d2a12803a16476d4e3508f3f
URL:
https://github.com/llvm/llvm-project/commit/66042959590d6db9d2a12803a16476d4e3508f3f
DIFF:
https://github.com/llvm/llvm-project/commit/66042959590d6db9d2a12803a16476d4e3508f3f.diff
LO
Author: Dan Gohman
Date: 2020-08-04T12:48:40-07:00
New Revision: 47f7174ffa71d339c1a65d1dd9a2ac5ff2abc95d
URL:
https://github.com/llvm/llvm-project/commit/47f7174ffa71d339c1a65d1dd9a2ac5ff2abc95d
DIFF:
https://github.com/llvm/llvm-project/commit/47f7174ffa71d339c1a65d1dd9a2ac5ff2abc95d.diff
LO
Author: djg
Date: Mon Nov 27 13:39:16 2017
New Revision: 319101
URL: http://llvm.org/viewvc/llvm-project?rev=319101&view=rev
Log:
[WebAssemby] Enable "-mthread-model single" by default, for now.
The WebAssembly standard does not yet have threads, and while it's in the
process of being standardize
Author: djg
Date: Mon Nov 27 17:13:45 2017
New Revision: 319129
URL: http://llvm.org/viewvc/llvm-project?rev=319129&view=rev
Log:
[WebAssembly] Add options for using the nontrapping-fptoint feature.
This adds ways to control use of WebAssembly's new nontrapping-fptoint
feature.
Modified:
cfe
Author: djg
Date: Tue Dec 5 09:46:17 2017
New Revision: 319801
URL: http://llvm.org/viewvc/llvm-project?rev=319801&view=rev
Log:
[WebAssembly] Don't use Wasm function sections for more than one function
Patch by Nicholas Wilson!
Fixes PR35467.
Differential Revision: https://reviews.llvm.org/D4
https://github.com/sunfishcode approved this pull request.
Looks good!
https://github.com/llvm/llvm-project/pull/84569
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/sunfishcode closed
https://github.com/llvm/llvm-project/pull/84569
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/sunfishcode milestoned
https://github.com/llvm/llvm-project/pull/84569
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
sunfishcode wrote:
/cherry-pick
https://github.com/llvm/llvm-project/commit/d66121d74a458e098511b9de920d815440acaa1b
https://github.com/llvm/llvm-project/pull/84569
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin
@@ -259,6 +259,10 @@ AIX Support
WebAssembly Support
^^^
+The -mcpu=generic configuration now enables nontrapping-fptoint, multivalue,
+reference-types, and bulk-memory.These proposals are standardized and available
+in all major engines.
sunfi
Author: Dan Gohman
Date: 2021-02-04T18:16:48-08:00
New Revision: 95da64da23ac3a5855a8934a738b0fa10aa1323c
URL:
https://github.com/llvm/llvm-project/commit/95da64da23ac3a5855a8934a738b0fa10aa1323c
DIFF:
https://github.com/llvm/llvm-project/commit/95da64da23ac3a5855a8934a738b0fa10aa1323c.diff
LO
Author: Dan Gohman
Date: 2021-02-11T14:44:37-08:00
New Revision: f9c05fc391458e455e8e4d4108a7f270f2f7bedc
URL:
https://github.com/llvm/llvm-project/commit/f9c05fc391458e455e8e4d4108a7f270f2f7bedc
DIFF:
https://github.com/llvm/llvm-project/commit/f9c05fc391458e455e8e4d4108a7f270f2f7bedc.diff
LO
Author: Dan Gohman
Date: 2022-10-25T11:44:22-07:00
New Revision: 1e4e2433bcd1a0296ef1043c462252f0d087d90c
URL:
https://github.com/llvm/llvm-project/commit/1e4e2433bcd1a0296ef1043c462252f0d087d90c
DIFF:
https://github.com/llvm/llvm-project/commit/1e4e2433bcd1a0296ef1043c462252f0d087d90c.diff
LO
Author: Dan Gohman
Date: 2020-02-27T07:55:36-08:00
New Revision: 00072c08c75050ae2c835b7bb0e505475dbcd7b9
URL:
https://github.com/llvm/llvm-project/commit/00072c08c75050ae2c835b7bb0e505475dbcd7b9
DIFF:
https://github.com/llvm/llvm-project/commit/00072c08c75050ae2c835b7bb0e505475dbcd7b9.diff
LO
Author: Dan Gohman
Date: 2019-11-22T22:16:28-08:00
New Revision: 812828984c10857a4cd260eb638c52a4411f9143
URL:
https://github.com/llvm/llvm-project/commit/812828984c10857a4cd260eb638c52a4411f9143
DIFF:
https://github.com/llvm/llvm-project/commit/812828984c10857a4cd260eb638c52a4411f9143.diff
LO
Author: Dan Gohman
Date: 2019-11-25T10:29:51-08:00
New Revision: 872a53ef9489fcfbb48c6f8dd30bd9a9a026934f
URL:
https://github.com/llvm/llvm-project/commit/872a53ef9489fcfbb48c6f8dd30bd9a9a026934f
DIFF:
https://github.com/llvm/llvm-project/commit/872a53ef9489fcfbb48c6f8dd30bd9a9a026934f.diff
LO
Author: Dan Gohman
Date: 2019-12-02T11:48:36-08:00
New Revision: 8f1e2151b8e923345a18aa3025a7d074e134768b
URL:
https://github.com/llvm/llvm-project/commit/8f1e2151b8e923345a18aa3025a7d074e134768b
DIFF:
https://github.com/llvm/llvm-project/commit/8f1e2151b8e923345a18aa3025a7d074e134768b.diff
LO
sunfish added a comment.
LGTM as a temporary workaround.
https://reviews.llvm.org/D24134
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: djg
Date: Tue Jan 17 15:46:38 2017
New Revision: 292269
URL: http://llvm.org/viewvc/llvm-project?rev=292269&view=rev
Log:
[WebAssembly] Add minimal support for the new wasm object format triple.
Modified:
cfe/trunk/lib/Basic/Targets.cpp
cfe/trunk/lib/CodeGen/BackendUtil.cpp
cf
Author: djg
Date: Tue Jan 17 19:03:35 2017
New Revision: 292324
URL: http://llvm.org/viewvc/llvm-project?rev=292324&view=rev
Log:
[WebAssembly] Update grow_memory's return type.
The grow_memory instruction now returns the previous memory size. Add the
return type to the clang intrinsic.
Modified
Author: djg
Date: Fri Jan 19 09:16:32 2018
New Revision: 322967
URL: http://llvm.org/viewvc/llvm-project?rev=322967&view=rev
Log:
[WebAssembly] Add target flags for sign-ext opcodes.
Add -msign-ext and -mno-sign-ext to control the new sign-ext target
feature.
Modified:
cfe/trunk/docs/ClangCo
Author: djg
Date: Tue Jan 23 09:04:04 2018
New Revision: 323224
URL: http://llvm.org/viewvc/llvm-project?rev=323224&view=rev
Log:
[WebAssembly] Add mem.* builtin functions.
This corresponds to r323222 in LLVM. The new names are not yet
finalized, so use them at your own risk.
Modified:
cfe/t
Author: djg
Date: Tue Jan 23 12:22:12 2018
New Revision: 323253
URL: http://llvm.org/viewvc/llvm-project?rev=323253&view=rev
Log:
[WebAssembly] Factor out settings common to wasm32 and wasm64. NFC.
MaxAtomicPromoteWidth and MaxAtomicInlineWidth are 64 on both
wasm32 and wasm64, so they can be set
Author: djg
Date: Thu Dec 1 19:12:40 2016
New Revision: 288447
URL: http://llvm.org/viewvc/llvm-project?rev=288447&view=rev
Log:
[WebAssembly] Add an -mdirect flag for the direct wasm object feature.
Add a target flag for enabling the new direct wasm object emission
feature.
Modified:
cfe/t
Author: djg
Date: Sat Dec 3 17:03:52 2016
New Revision: 288604
URL: http://llvm.org/viewvc/llvm-project?rev=288604&view=rev
Log:
[WebAssembly] Revert r288447.
Revert r288447 which introduced -mdirect. It turns out we don't need a
custom flag for this, as the information we need is in the target
sunfish added a comment.
When adding new predefined macros, please also add the new macros to
test/Preprocessor/init.c (and remove negative tests that no longer apply).
Also though, I'd also like to understand this a little more. Even with
emulation, there will be limits to how Unixy a Web envi
sunfish added a comment.
The other main way we could provide __unix et al would be to add them to
tools/shared.py in Emscripten (see the comment "wasm target does not
automatically define emscripten stuff"). It's not clear to me whether that's
better than adding the macros to clang itself or no
sunfish created this revision.
sunfish added a reviewer: jfb.
sunfish added a subscriber: cfe-commits.
sunfish set the repository for this revision to rL LLVM.
Herald added subscribers: dschuff, jfb.
This makes int_fast64_t and int_least64_t the same type as int64_t, and
eliminates a difference b
sunfish created this revision.
sunfish added a reviewer: jfb.
sunfish added a subscriber: cfe-commits.
sunfish set the repository for this revision to rL LLVM.
Herald added subscribers: dschuff, jfb.
WebAssembly's spec has now been updated to specify some [guarantees about lock
free atomic access
Author: djg
Date: Mon Sep 14 16:49:41 2015
New Revision: 247622
URL: http://llvm.org/viewvc/llvm-project?rev=247622&view=rev
Log:
[WebAssembly] Use "long long" for int_fast64_t and int_least64_t on wasm64
This makes int_fast64_t and int_least64_t the same type as int64_t, and
eliminates a differe
Author: djg
Date: Mon Sep 14 16:54:32 2015
New Revision: 247623
URL: http://llvm.org/viewvc/llvm-project?rev=247623&view=rev
Log:
[WebAssembly] Simplify code by avoiding duplicating the default behavior.
Modified:
cfe/trunk/lib/CodeGen/TargetInfo.cpp
Modified: cfe/trunk/lib/CodeGen/TargetInf
Author: djg
Date: Mon Sep 14 16:56:37 2015
New Revision: 247624
URL: http://llvm.org/viewvc/llvm-project?rev=247624&view=rev
Log:
[WebAssembly] Define the atomic type sizes
WebAssembly's spec has now been updated to specify some guarantees
about lock free atomic accesses. Update clang to match.
sunfish added a comment.
This code has been questioned in this way before, and every time it comes up,
it turns out that there's a bug somewhere else that really ought to be fixed
anyway.
In previous iterations of this discussion, when clang is found attempting to
print something like a dep fi
sunfish added a comment.
> In any case, that's not how clang deal with usage or even internal unexpected
> errors. It asserts, print error messages but does not crash on purpose.
> Having clang crash here does not seem like a good solution and will result in
> this issue continue to surface aga
Author: djg
Date: Fri Oct 2 14:38:47 2015
New Revision: 249176
URL: http://llvm.org/viewvc/llvm-project?rev=249176&view=rev
Log:
[WebAssembly] Add a __builtin_wasm_memory_size() intrinsic.
Modified:
cfe/trunk/include/clang/Basic/BuiltinsWebAssembly.def
cfe/trunk/lib/CodeGen/CGBuiltin.cpp
Author: djg
Date: Fri Oct 2 15:20:01 2015
New Revision: 249179
URL: http://llvm.org/viewvc/llvm-project?rev=249179&view=rev
Log:
[WebAssembly] Add a __builtin_wasm_resize_memory() intrinsic.
Modified:
cfe/trunk/include/clang/Basic/BuiltinsWebAssembly.def
cfe/trunk/lib/CodeGen/CGBuiltin.c
sunfish created this revision.
sunfish added subscribers: cfe-commits, jfb.
sunfish set the repository for this revision to rL LLVM.
This patch adds initial WebAssembly support in clang. The WebAssembly target is
currently experimental.
Repository:
rL LLVM
http://reviews.llvm.org/D12002
File
sunfish planned changes to this revision.
sunfish marked 3 inline comments as done.
Comment at: lib/Basic/Targets.cpp:6935
@@ +6934,3 @@
+NoAsmVariants = true;
+LongDoubleWidth = LongDoubleAlign = 64;
+SuitableAlign = 128;
jfb wrote:
> That's already t
sunfish updated this revision to Diff 32025.
sunfish marked 3 inline comments as done.
sunfish added a comment.
Minor changes to address review comments.
Repository:
rL LLVM
http://reviews.llvm.org/D12002
Files:
include/clang/Basic/BuiltinsWebAssembly.def
include/clang/Basic/TargetBuilti
sunfish updated this revision to Diff 32109.
sunfish added a comment.
- use more default values in WebAssemblyTargetInfo etc.
- add a comment about using ARM-C++-ABI-style guard variables (for now)
- fix diff to include context for Phabricator
Repository:
rL LLVM
http://reviews.llvm.org/D1200
sunfish marked 2 inline comments as done.
Comment at: lib/Basic/Targets.cpp:6935
@@ +6934,3 @@
+
+public:
+ explicit WebAssemblyTargetInfo(const llvm::Triple &T) : TargetInfo(T) {
I've now removed this (for now; we can discuss what to do in a later patch).
Repo
sunfish updated this revision to Diff 32192.
sunfish marked an inline comment as done.
sunfish added a comment.
- set MaxAtomicInlineWidth to 0 for now (sets *_ATOMIC_*_LOCK_FREE to 1)
- enable LargeArrayAlign
- enable __int128
- various cleanups
Repository:
rL LLVM
http://reviews.llvm.org/D1
sunfish added inline comments.
Comment at: lib/Basic/Targets.cpp:7010
@@ +7009,3 @@
+ { #ID, TYPE, ATTRS, HEADER, ALL_LANGUAGES, nullptr },
+#include "clang/Basic/BuiltinsWebAssembly.def"
+};
WebAssembly32TargetInfo is subclassed in LLVM code, and getTargetDefine
sunfish updated this revision to Diff 32485.
sunfish marked an inline comment as done.
sunfish added a comment.
The patch evolved enough to prompt posting one more new version; major changes:
- make constructors and destructors return this
- enable -fuse-init-array
- enable -fno-common
- disable
sunfish marked 2 inline comments as done.
Comment at: lib/CodeGen/ItaniumCXXABI.cpp:364
@@ +363,3 @@
+ItaniumCXXABI(CGM, /* UseARMMethodPtrABI = */ true,
+ /* UseARMGuardVarABI = */ true) {}
+
jfb wrote:
> It's more common to have no spaces fo
sunfish updated this revision to Diff 33611.
sunfish marked 2 inline comments as done.
sunfish added a comment.
Herald added a subscriber: dschuff.
Minor updates to keep the patch building and working as code changes around it.
Also enabled -mthread-model.
Repository:
rL LLVM
http://reviews.
sunfish added a comment.
Thanks for the review!
Comment at: include/clang/Basic/TargetCXXABI.h:166
@@ -148,1 +165,3 @@
+ /// \brief Are member functions differently aligned?
+ bool areMemberFunctionsAligned() const {
echristo wrote:
> Can you elaborate on th
sunfish updated this revision to Diff 33637.
sunfish added a comment.
Updated to address review comments:
- added comments
- simplified Triple validation code
- removed -mcpu="native" code
Repository:
rL LLVM
http://reviews.llvm.org/D12002
Files:
include/clang/Basic/BuiltinsWebAssembly.de
sunfishcode added a subscriber: sunfishcode.
Comment at: lib/Basic/Targets.cpp:6943-6944
@@ +6942,4 @@
+
+ Diags.Report(diag::err_opt_not_valid_with_opt) << Feature
+ << "-target-feature";
+ return false;
--
Author: djg
Date: Thu Sep 3 17:51:53 2015
New Revision: 246814
URL: http://llvm.org/viewvc/llvm-project?rev=246814&view=rev
Log:
[WebAssembly] Initial WebAssembly support in clang
This implements basic support for compiling (though not yet assembling
or linking) for a WebAssembly target. Note th
sunfishcode added inline comments.
Comment at: lib/Basic/Targets.cpp:7643-7649
@@ +7642,9 @@
+ case llvm::Triple::wasm64:
+// Until specific variations are defined, don't permit any.
+if (!(Triple == llvm::Triple("wasm64-unknown-unknown")) ||
+(!Triple.getVendorNa
Author: djg
Date: Thu Nov 5 14:16:37 2015
New Revision: 252201
URL: http://llvm.org/viewvc/llvm-project?rev=252201&view=rev
Log:
[WebAssembly] Update wasm builtin functions to match spec changes.
The page_size operator has been removed from the spec, and the resize_memory
operator has been chang
Author: djg
Date: Tue Nov 10 15:01:46 2015
New Revision: 252646
URL: http://llvm.org/viewvc/llvm-project?rev=252646&view=rev
Log:
[WebAssembly] Change long double to be quadruple-precision floating point.
Modified:
cfe/trunk/lib/Basic/Targets.cpp
cfe/trunk/test/CodeGen/wasm-arguments.c
sunfish accepted this revision.
sunfish added a comment.
This revision is now accepted and ready to land.
lgtm.
https://reviews.llvm.org/D23244
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cf
sunfish added a subscriber: sunfish.
sunfish added a comment.
For WebAssembly, I'm expecting we'll switch to emitVoidPtrVAArg and eschew
LLVM's vaarg instruction too, as other targets do. This exposes the expanded
code to the full optimizer, which seems preferable.
http://reviews.llvm.org/D161
Author: djg
Date: Mon Feb 22 13:17:40 2016
New Revision: 261557
URL: http://llvm.org/viewvc/llvm-project?rev=261557&view=rev
Log:
[WebAssembly] Lower va_arg in clang.
This uses the general emitVoidPtrVAArg lowering logic for everything, since
this supports all types, and we don't have any special
Author: djg
Date: Mon Feb 22 13:26:15 2016
New Revision: 261560
URL: http://llvm.org/viewvc/llvm-project?rev=261560&view=rev
Log:
[WebAssembly] Initial driver support for standard library paths.
Modified:
cfe/trunk/lib/Driver/ToolChains.cpp
cfe/trunk/lib/Driver/Tools.cpp
cfe/trunk/tes
Author: djg
Date: Wed Jan 6 13:43:32 2016
New Revision: 256967
URL: http://llvm.org/viewvc/llvm-project?rev=256967&view=rev
Log:
[WebAssembly] Add --gc-sections to the link line.
This will eventually be accompanied with a change to enable -ffunction-sections
and -fdata-sections by default, which
Author: djg
Date: Wed Jan 6 18:32:04 2016
New Revision: 257004
URL: http://llvm.org/viewvc/llvm-project?rev=257004&view=rev
Log:
[WebAssembly] Only enable --gc-sections when optimizations are enabled.
Also, revamp the wasm-toolchain.c test and add a test to ensure that
a user-supplied --no-gc-se
On Wed, Jan 6, 2016 at 3:53 PM, Joerg Sonnenberger via cfe-commits <
cfe-commits@lists.llvm.org> wrote:
> On Wed, Jan 06, 2016 at 07:43:32PM -0000, Dan Gohman via cfe-commits wrote:
> > Author: djg
> > Date: Wed Jan 6 13:43:32 2016
> > New Revision: 256967
> >
Author: djg
Date: Wed Jan 6 18:50:27 2016
New Revision: 257005
URL: http://llvm.org/viewvc/llvm-project?rev=257005&view=rev
Log:
[WebAssembly] Enable -ffunction-sections and -fdata-sections by default.
These remain user-overridable with -fno-function-sections and
-fno-data-sections.
Modified:
Author: djg
Date: Wed Jan 6 19:00:21 2016
New Revision: 257006
URL: http://llvm.org/viewvc/llvm-project?rev=257006&view=rev
Log:
[WebAssembly] Enable -fvisibility=hidden by default.
This, along with many things in the WebAssembly target, is experimental.
Feedback is welcome.
Modified:
cfe/t
Author: djg
Date: Wed Jan 6 19:15:05 2016
New Revision: 257007
URL: http://llvm.org/viewvc/llvm-project?rev=257007&view=rev
Log:
[WebAssembly] Add a test to ensure that -fvisibility=default works.
It should override the default of -fvisibility=hidden.
Modified:
cfe/trunk/test/Driver/wasm-to
Author: djg
Date: Wed Jan 6 21:20:15 2016
New Revision: 257021
URL: http://llvm.org/viewvc/llvm-project?rev=257021&view=rev
Log:
[WebAssembly] Add -m:e to the target triple.
Modified:
cfe/trunk/lib/Basic/Targets.cpp
cfe/trunk/test/CodeGen/target-data.c
Modified: cfe/trunk/lib/Basic/Targ
Author: djg
Date: Mon Jan 11 05:49:44 2016
New Revision: 257327
URL: http://llvm.org/viewvc/llvm-project?rev=257327&view=rev
Log:
[WebAssembly] Fix a typo in a comment.
Modified:
cfe/trunk/test/Driver/wasm-toolchain.c
Modified: cfe/trunk/test/Driver/wasm-toolchain.c
URL:
http://llvm.org/vie
Author: djg
Date: Wed Jan 13 10:32:00 2016
New Revision: 257612
URL: http://llvm.org/viewvc/llvm-project?rev=257612&view=rev
Log:
[WebAssembly] Set std::numeric_limits's traps field for WebAssembly.
WebAssembly's integer division instruction traps on division by zero; set the
traps field of integ
Author: djg
Date: Wed Jan 13 10:39:30 2016
New Revision: 257614
URL: http://llvm.org/viewvc/llvm-project?rev=257614&view=rev
Log:
[WebAssembly] Accomodate wasm's 128-bit long double.
Modified:
libcxxabi/trunk/src/cxa_demangle.cpp
Modified: libcxxabi/trunk/src/cxa_demangle.cpp
URL:
http://ll
Author: djg
Date: Thu Jan 14 10:00:13 2016
New Revision: 257774
URL: http://llvm.org/viewvc/llvm-project?rev=257774&view=rev
Log:
[WebAssembly] Configure some simple include paths and runtime library settings.
Modified:
cfe/trunk/lib/Driver/ToolChains.cpp
cfe/trunk/lib/Driver/ToolChains.h
Author: djg
Date: Sat Nov 14 16:57:34 2015
New Revision: 253146
URL: http://llvm.org/viewvc/llvm-project?rev=253146&view=rev
Log:
[WebAssembly] Remove the "const" attribute from __builtin_wasm_memory_size.
Modified:
cfe/trunk/include/clang/Basic/BuiltinsWebAssembly.def
Modified: cfe/trunk/in
Author: djg
Date: Fri Dec 4 19:36:31 2015
New Revision: 254817
URL: http://llvm.org/viewvc/llvm-project?rev=254817&view=rev
Log:
[WebAssembly] Remove an obsolete TODO comment.
Modified:
cfe/trunk/lib/Basic/Targets.cpp
Modified: cfe/trunk/lib/Basic/Targets.cpp
URL:
http://llvm.org/viewvc/ll
sunfish created this revision.
sunfish added subscribers: cfe-commits, jfb, dschuff.
sunfish set the repository for this revision to rL LLVM.
This begins minimal support for invoking 'ld' from clang for WebAssembly
targets.
Repository:
rL LLVM
http://reviews.llvm.org/D15586
Files:
lib/Driv
Author: djg
Date: Wed Dec 16 17:30:41 2015
New Revision: 255848
URL: http://llvm.org/viewvc/llvm-project?rev=255848&view=rev
Log:
[WebAssembly] Initial linking support.
This begins minimal support for invoking 'ld' from clang for WebAssembly
targets.
Differential Revision: http://reviews.llvm.or
On Wed, Dec 16, 2015 at 5:20 PM, Rafael EspĂndola <
rafael.espind...@gmail.com> wrote:
> testcase?
>
Also, this is passing -target to ld, which is not a valid option.
>
This patch is mainly setting up some minimal infrastructure. The actual
link command-line will need additional changes to be us
Author: djg
Date: Mon Dec 21 17:30:41 2015
New Revision: 256216
URL: http://llvm.org/viewvc/llvm-project?rev=256216&view=rev
Log:
[WebAssembly] Remove the -target command-line flag from the ld commandline.
This flag isn't needed, or permitted, with the "ld" flavor of lld.
Also, add a basic ld co
;
> src\\chrome\\src\\third_party\\llvm\\tools\\clang\\test\\Driver\\wasm-toolchain.c"
>
>
>
>
> ^
> :6:63: note: possible intended match here
> "C:\\src\\chrome\\src\\third_party\\llvm-bootstrap\\bin\\lld.exe&
C:\\src
>>> \\chrome\\src\\third_party\\llvm-bootstrap\\tools\\clang\\test\\Driver"
>>> "-dwarf-debug-producer" "clang version 3.8.0 (tr
>>> unk 256248)" "-mrelocation-model" "static" "-o"
>>> "C:\\Users\\
sunfishcode wrote:
@mh4ck-Thales A warning could be useful in some situations, but I also don't
know how to navigate the situation with existing users using `-Werror`.
@sbc100 I'm open to ideas for how to limit the scope to wasm in some way.
https://github.com/llvm/llvm-project/pull/95208
https://github.com/sunfishcode approved this pull request.
This looks good to me.
https://github.com/llvm/llvm-project/pull/95208
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
1 - 100 of 189 matches
Mail list logo