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

Hm, interesting, so we are using passive segments anytime bulk memory is 
enabled. That makes sense since this was all meant for threads, but is this 
actually an improvement in the non-threads case? i.e. maybe we don't want the 
extra explicit initialization code if we can help it?

edit: i just checked this out but I'll leave it here FTR: it looks like after 
linking we actually don't use passive segments unless threads is also enabled. 
so this seems like not a problem.

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