[Mlir-commits] [mlir] [mlir][vector] Emit error when `kind` attribute is not a CombiningKind (PR #173659)

Longsheng Mou llvmlistbot at llvm.org
Sun Jan 4 22:14:19 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. "
----------------
CoTinker wrote:

The custom parser not verify it.

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


More information about the Mlir-commits mailing list