[Mlir-commits] [mlir] [MLIR][Vector]Generalize DropUnitDimFromElementwiseOps (PR #92934)

Andrzej WarzyƄski llvmlistbot at llvm.org
Mon May 27 03:03:10 PDT 2024


================
@@ -1607,7 +1607,23 @@ struct ChainedReduction final : OpRewritePattern<vector::ReductionOp> {
   }
 };
 
-/// For vectors with either leading or trailing unit dim, replaces:
+FailureOr<VectorType> dropNonScalableUnitDimType(VectorType VT) {
----------------
banach-space wrote:

MLIR adopts camelBack, so `vt` rather than `VT` (I much prefer more descriptive names, e.g. `inVecTy`).

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


More information about the Mlir-commits mailing list