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

Rahul Joshi llvmlistbot at llvm.org
Thu May 28 06:00:37 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
----------------
jurahul wrote:

Done, the error message now looks like: intrinsic argument 1 type (matching overload type 0) expected i8, but got i16

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


More information about the Mlir-commits mailing list