[Mlir-commits] [mlir] [MLIR][Vector] Add Lowering for vector.step (PR #113655)
Andrzej WarzyĆski
llvmlistbot at llvm.org
Fri Nov 1 09:17:51 PDT 2024
================
@@ -1886,6 +1886,7 @@ void mlir::populateVectorToLLVMConversionPatterns(
MLIRContext *ctx = converter.getDialect()->getContext();
patterns.add<VectorFMAOpNDRewritePattern>(ctx);
populateVectorInsertExtractStridedSliceTransforms(patterns);
+ populateVectorStepLoweringPatterns(patterns);
----------------
banach-space wrote:
Strictly speaking, this is lowering "Vector -> Arith" and not "Vector -> LLVM". What happens if you don't include this here?
IIUC, the whole point of this PR is _not to_ run this pattern auto-magically as part of some larger pipeline.
https://github.com/llvm/llvm-project/pull/113655
More information about the Mlir-commits
mailing list