[clang] [lld] [llvm] [WebAssembly] Define call-indirect-overlong and bulk-memory-opt features (PR #117087)

Heejin Ahn via cfe-commits cfe-commits at lists.llvm.org
Thu Nov 21 17:29:57 PST 2024


================
@@ -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__");
----------------
aheejin wrote:

You don't need this for `call-indirect-overlong`?

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


More information about the cfe-commits mailing list