[Mlir-commits] [mlir] [mlir][vector] Constrain patterns: vector.contract -> vector.outerproduct (PR #68400)

Cullen Rhodes llvmlistbot at llvm.org
Sun Oct 8 01:37:27 PDT 2023


================
@@ -980,9 +995,19 @@ FailureOr<Value> ContractionOpLowering::lowerParallel(PatternRewriter &rewriter,
         diag << "expected lhsIndex=" << lhsIndex << " and rhsIndex=" << rhsIndex
              << " to map to the same dimension";
       });
+    if (lhsType.getScalableDims()[lhsIndex])
+      return rewriter.notifyMatchFailure(op, [&](Diagnostic &diag) {
+        diag << "Unrolloing scalable dimension (lhsIndex=" << lhsIndex
----------------
c-rhodes wrote:

`s/Unrolloing/Unrolling`

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


More information about the Mlir-commits mailing list