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

Andrzej WarzyƄski llvmlistbot at llvm.org
Sun Jul 21 09:09:00 PDT 2024


================
@@ -586,6 +586,12 @@ static SmallVector<bool> getDimsToReduce(LinalgOp linalgOp) {
       llvm::map_range(linalgOp.getIteratorTypesArray(), isReductionIterator));
 }
 
+static bool hasLinalgReduction(LinalgOp &op) {
----------------
banach-space wrote:

Please document. Also, why `hasLinalgReduction` raher than `isaLinalgReduction`?

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


More information about the Mlir-commits mailing list