[llvm] [WebAssembly,llvm] Add llvm.wasm.ref.test.func intrinsic, option 2 (PR #147486)

Hood Chatham via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 8 07:14:37 PDT 2025


================
@@ -2253,6 +2255,71 @@ SDValue WebAssemblyTargetLowering::LowerIntrinsic(SDValue Op,
                            DAG.getTargetExternalSymbol(TlsBase, PtrVT)),
         0);
   }
+  case Intrinsic::wasm_ref_test_func: {
----------------
hoodmane wrote:

I tried this in f049ff60419c909200e033b5eeb4f62bd1a5c4dc but I'm getting:
```
LLVM ERROR: Cannot select: t7: i32 = <<Deleted Node!>>
In function: test_function_pointer_signature_void
```
Any advice for how to fix that?

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


More information about the llvm-commits mailing list