yamt marked an inline comment as done.
yamt added a comment.
can this land?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D156205/new/
https://reviews.llvm.org/D156205
___
cfe-commits mailing list
cfe-com
yamt added inline comments.
Comment at: clang/lib/Driver/ToolChains/WebAssembly.cpp:80
- const char *Crt1 = "crt1.o";
+ bool isCommand = true;
+ const char *Crt1;
sbc100 wrote:
> LLCM coding style is `IsCommand` (at last for now:
> https://llvm.org/docs/Pro
yamt updated this revision to Diff 546525.
yamt added a comment.
isCommand -> IsCommand
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D156205/new/
https://reviews.llvm.org/D156205
Files:
clang/lib/Driver/ToolChains/WebAssembly.cpp
clang/test/Dr
yamt updated this revision to Diff 546417.
yamt added a comment.
when -shared, use the reactor model by default
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D156205/new/
https://reviews.llvm.org/D156205
Files:
clang/lib/Driver/ToolChains/WebAsse
yamt updated this revision to Diff 544275.
yamt added a comment.
update test
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D156205/new/
https://reviews.llvm.org/D156205
Files:
clang/lib/Driver/ToolChains/WebAssembly.cpp
clang/test/Driver/wasm-t
yamt added a comment.
> Should -shared modules also link with crt1-reactor.o by default then? Or
> should we add crt1-shared.o and use the whenever -shared is passed. Should we
> also make -shared incompatible with -mexec-model? It seems like -mexec-model
> should only apply to the main module,
yamt created this revision.
Herald added subscribers: pmatos, asb, sunfish, jgravelle-google, sbc100,
dschuff.
Herald added a project: All.
yamt requested review of this revision.
Herald added subscribers: cfe-commits, MaskRay, aheejin.
Herald added a project: clang.
This allows -mexec-model=reac
yamt added a comment.
> musttail provide assurances that the tail call can be optimized on all
> targets.
Such a definition doesn't make much sense because for some targets tail call
optimization isn't available at all.
Eg. Wasm w/o tail call proposal, xtensa windowed abi.
So I'm not sure what
yamt added a comment.
at least some of these stuff is used by wasm-micro-runtime. do you have a
suggestion about how to adapt it?
https://github.com/bytecodealliance/wasm-micro-runtime/blob/72fc872afe9a51228b2a32bc7b08475b176f187f/core/iwasm/compilation/aot_compiler.c#L2666-L2670
Repository: