[clang] [llvm] [WebAssembly,clang] Add __builtin_wasm_test_function_pointer_signature (PR #150201)
Derek Schuff via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 28 16:07:13 PDT 2025
================
@@ -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
More information about the llvm-commits
mailing list