[Mlir-commits] [mlir] [mlir][vector] NFC - Add more structured interface support to vector.contract (PR #145313)

Renato Golin llvmlistbot at llvm.org
Mon Jun 23 06:22:36 PDT 2025


================
@@ -207,6 +207,39 @@ def Vector_ContractionOp :
               .template getAsValueRange<IteratorTypeAttr, IteratorType>();
       return {range.begin(), range.end()};
     }
+
+    //===------------------------------------------------------------------===//
+    // The code below is shared with LinalgStructuredInterface.
+    // vector.contract is really a linalg.generic on vectors without region.
----------------
rengolin wrote:

```suggestion
    // vector.contract is really a linalg.contract on vectors without region.
```

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


More information about the Mlir-commits mailing list