[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:47 PST 2026
================
@@ -4646,11 +4646,18 @@ void BatchMatmulOp::regionBuilder(
}
auto toType = block.getArgument(2).getType();
- Value castValA = helper.buildTypeFn(castVal, toType, block.getArgument(0));
- Value castValB = helper.buildTypeFn(castVal, toType, block.getArgument(1));
- Value mulVal = helper.buildBinaryFn(BinaryFn::mul, castValA, castValB);
- Value addVal =
- helper.buildBinaryFn(BinaryFn::add, block.getArgument(2), mulVal);
+ Value castValA =
+ helper.buildTypeFn(castVal, toType, block.getArgument(0), emitError);
+ Value castValB =
+ helper.buildTypeFn(castVal, toType, block.getArgument(1), emitError);
----------------
shubhamnarlawar wrote:
Removed.
https://github.com/llvm/llvm-project/pull/181616
More information about the Mlir-commits
mailing list