[Mlir-commits] [mlir] [MLIR][Linalg] Diagnose unsupported types in Linalg named op region builders (PR #181616)
Andrzej WarzyĆski
llvmlistbot at llvm.org
Mon Feb 16 12:43:44 PST 2026
================
@@ -6582,13 +6589,18 @@ void BatchReduceMatmulOp::regionBuilder(
SmallVector<Value> yields;
auto toType = block.getArgument(2).getType();
- Value castValA =
- helper.buildTypeFn(TypeFn::cast_signed, toType, block.getArgument(0));
- Value castValB =
- helper.buildTypeFn(TypeFn::cast_signed, toType, block.getArgument(1));
- Value mulVal = helper.buildBinaryFn(BinaryFn::mul, castValA, castValB);
+ Value castValA = helper.buildTypeFn(TypeFn::cast_signed, toType,
+ block.getArgument(0), emitError);
+ Value castValB = helper.buildTypeFn(TypeFn::cast_signed, toType,
+ block.getArgument(1), emitError);
----------------
banach-space wrote:
I don't believe this is required.
https://github.com/llvm/llvm-project/pull/181616
More information about the Mlir-commits
mailing list