================
@@ -1,4 +1,4 @@
-; RUN: llc -filetype=obj %s -o %t.o
+; RUN: llc -filetype=obj -mattr=-bulk-memory %s -o %t.o
----------------
sunfishcode wrote:

In lld/test/wasm/custom-section-name.ll, it's because bulk-memory makes the 
target_features section bigger and thus changes some of the section offsets and 
it was easier to just disable bulk-memory than to figure out the new section 
offsets. I can update the section offsets if you prefer though.

In lld/test/wasm/data-segments.ll, it's because the test is written to test 
both bulk-memory and non-bulk-memory, and to keep it doing that, it's now 
necessary to explicitly disable bulk-memory for the non-bulk-memory case.

In lld/test/wasm/lto/stub-library-libcall.s it's because the test is testing 
the use of a memcpy stub function, and with bulk-memory it gets inlined.

llvm/test/MC/WebAssembly/extern-functype-intrinsic.ll is similarly testing 
memset calls.

llvm/test/MC/WebAssembly/libcall.ll is similarly testing memcpy calls.


https://github.com/llvm/llvm-project/pull/112049
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to