[clang] [WebAssembly] Add gc target feature to addBleedingEdgeFeatures (PR #151107)

Hood Chatham via cfe-commits cfe-commits at lists.llvm.org
Tue Jul 29 09:30:01 PDT 2025


================
@@ -197,6 +197,7 @@ bool WebAssemblyTargetInfo::initFeatureMap(
     Features["multimemory"] = true;
     Features["tail-call"] = true;
     Features["wide-arithmetic"] = true;
+    Features["gc"] = true;
----------------
hoodmane wrote:

Well... the CI didn't fail... so maybe not? This might be completely redundant with:
https://github.com/llvm/llvm-project/blob/main/llvm/lib/Target/WebAssembly/WebAssembly.td?plain=1#L139-L146
so it suffices to add the feature in either of these two places.

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


More information about the cfe-commits mailing list