================
@@ -79,6 +81,8 @@ void WebAssemblyTargetInfo::getTargetDefines(const
LangOptions &Opts,
Builder.defineMacro("__wasm_atomics__");
if (HasBulkMemory)
Builder.defineMacro("__wasm_bulk_memory__");
+ if (HasBulkMemoryOpt)
+ Builder.defineMacro("__wasm_bulk_memory_opt__");
----------------
sunfishcode wrote:
I couldn't think of a reason C/C++ code would need to know about call-indirect
overlongs. I'm not opposed to adding it if we think there might be a reason
though.
https://github.com/llvm/llvm-project/pull/117087
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits