[llvm] [WebAssembly] Add ref.test_func handling to AsmParser (PR #139642)

Hood Chatham via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 7 10:51:05 PDT 2025


================
@@ -668,6 +668,8 @@ class WebAssemblyAsmParser final : public MCTargetAsmParser {
       if (parseFunctionTableOperand(&FunctionTable))
         return true;
       ExpectFuncType = true;
+    } else if (Name == "ref.test") {
+      ExpectFuncType = true;
----------------
hoodmane wrote:

I can add a comment here?

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


More information about the llvm-commits mailing list