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

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 8 02:36:51 PDT 2025


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

It's unusual to directly select an intrinsic in lowering. Move this to ISelDAGToDAG?

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


More information about the llvm-commits mailing list