[Mlir-commits] [llvm] [mlir] [LLVM] Precise error message for intrinsic signature verification (2/n) (PR #199217)

Nikita Popov llvmlistbot at llvm.org
Thu May 28 00:15:27 PDT 2026


================
@@ -3,7 +3,7 @@
 ; Use of intrinsic without mangling suffix and invalid signature should
 ; be rejected.
 
-; CHECK: error: intrinsic has incorrect argument type!
+; CHECK: error: intrinsic argument 1 type (MatchType<0>) expected i8, but got i16
----------------
nikic wrote:

Not sure, it seems a bit odd to leak TableGen details in verifier error messages. I won't insist though.

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


More information about the Mlir-commits mailing list