================
@@ -307,6 +310,14 @@ bool WebAssemblyTargetInfo::handleTargetFeatures(
       HasReferenceTypes = false;
       continue;
     }
+    if (Feature == "+gc") {
+      HasGC = true;
+      continue;
+    }
+    if (Feature == "-gc") {
+      HasGC = false;
+      continue;
+    }
----------------
dschuff wrote:

the test for llvm/test/CodeGen/WebAssembly/target-features-cpus.ll below does 
seem to include gc in bleeding-edge. But you're right, that we've been also 
adding things with `addBleedingEdgeFeatures` so it's weird that that test 
changes. We should look into what's going on there.

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

Reply via email to