[Mlir-commits] [mlir] [MLIR][Linalg] Diagnose unsupported types in Linalg named op region builders (PR #181616)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Mon Feb 16 22:53:38 PST 2026


================
@@ -3873,11 +3873,11 @@ void MatmulOp::regionBuilder(ImplicitLocOpBuilder &b, Block &block,
   }
 
   Value value1 = helper.buildTypeFn(castVal, block.getArgument(2).getType(),
-                                    block.getArgument(0));
+                                    block.getArgument(0), emitError);
   Value value2 = helper.buildTypeFn(castVal, block.getArgument(2).getType(),
-                                    block.getArgument(1));
+                                    block.getArgument(1), emitError);
----------------
shubhamnarlawar wrote:

Agreed. Removed it.

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


More information about the Mlir-commits mailing list