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

Nicolas Vasilache llvmlistbot at llvm.org
Mon Jun 23 07:25:55 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.
----------------
nicolasvasilache wrote:

Fair enough: this is really about ops whose semantics carry the relationship between iteration space and operands in some form. One of these classes of ops uses AffineMap. Will update.

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


More information about the Mlir-commits mailing list