[Mlir-commits] [mlir] [mlir][vector] Emit error when `kind` attribute is not a CombiningKind (PR #173659)
Jacques Pienaar
llvmlistbot at llvm.org
Sun Jan 4 21:52:55 PST 2026
================
@@ -1091,6 +1091,11 @@ LogicalResult ContractionOp::verify() {
contractingDimMap, batchDimMap)))
return failure();
+ if (!getKindAttr()) {
+ return emitOpError("expected 'kind' attribute of type CombiningKind(e.g. "
----------------
jpienaar wrote:
Nit: space missing between `CombiningKind` and `(`
https://github.com/llvm/llvm-project/pull/173659
More information about the Mlir-commits
mailing list