[Mlir-commits] [mlir] [MLIR][Linalg] Scalable Vectorization of Reduction (PR #97788)

Andrzej WarzyƄski llvmlistbot at llvm.org
Thu Jul 11 07:24:25 PDT 2024


================
@@ -1778,6 +1784,9 @@ vectorizeDynamicLinalgOpPrecondition(linalg::LinalgOp op,
   if (isa<ConvolutionOpInterface>(op.getOperation()))
     return vectorizeDynamicConvOpPrecondition(op, flatten1DDepthwiseConv);
 
+  if (isLinalgReduction(op))
+    return reductionPreconditions(op);
+
----------------
banach-space wrote:

Do we need this? It's already invoked by `vectorizeLinalgOpPrecondition`

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


More information about the Mlir-commits mailing list