[clang] [lld] [llvm] [WebAssembly] Enable nontrapping-fptoint and bulk-memory by default. (PR #112049)

Sam Clegg via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 15 16:28:14 PDT 2024


================
@@ -2,7 +2,7 @@
 ; RUN: llvm-as -o %t.o %s
 ; RUN: llvm-as -o %t2.o %S/Inputs/libcall-archive.ll
 ; RUN: llvm-ar rcs %t.a %t2.o
-; RUN: wasm-ld -o %t %t.o %t.a
+; RUN: wasm-ld -mllvm -mattr=-bulk-memory -o %t %t.o %t.a
----------------
sbc100 wrote:

I was thinking that might make more sense yes.   Seems like that would match better what llvm lto would produce.  I don't feel strongly though.

https://github.com/llvm/llvm-project/pull/112049


More information about the cfe-commits mailing list