[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 06:12:58 PDT 2025


================
@@ -43,6 +43,10 @@ def int_wasm_ref_is_null_exn :
   DefaultAttrsIntrinsic<[llvm_i32_ty], [llvm_exnref_ty], [IntrNoMem],
                         "llvm.wasm.ref.is_null.exn">;
 
+def int_wasm_ref_test_func
+    : DefaultAttrsIntrinsic<[llvm_i32_ty], [llvm_ptr_ty, llvm_vararg_ty],
+                            [IntrNoMem], "llvm.wasm.ref.test.func">;
----------------
arsenm wrote:

You don't need the explicit name of the intrinsic 

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


More information about the llvm-commits mailing list