[llvm] [WebAssembly] Unify type checking in AsmTypeCheck (PR #110094)

Derek Schuff via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 26 09:52:32 PDT 2024


================
@@ -246,23 +295,16 @@ bool WebAssemblyAsmTypeCheck::getSignature(SMLoc ErrorLoc,
       TypeName = "tag";
       break;
     default:
-      return true;
+      assert(false);
----------------
dschuff wrote:

`llvm_unreachable` with an error message?

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


More information about the llvm-commits mailing list