Skip to content

Commit 5c3e7d5

Browse files
committed
Removes reference to previous UnrollToElements pattern
1 parent e1f9605 commit 5c3e7d5

File tree

5 files changed

+2
-62
lines changed

5 files changed

+2
-62
lines changed

mlir/include/mlir/Dialect/Vector/Transforms/LoweringPatterns.h

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -311,12 +311,6 @@ void populateVectorToFromElementsToShuffleTreePatterns(
311311
void populateVectorFromElementsLoweringPatterns(RewritePatternSet &patterns,
312312
PatternBenefit benefit = 1);
313313

314-
/// Populate the pattern set with the following patterns:
315-
///
316-
/// [UnrollToElements]
317-
void populateVectorToElementsLoweringPatterns(RewritePatternSet &patterns,
318-
PatternBenefit benefit = 1);
319-
320314
/// Populate the pattern set with the following patterns:
321315
///
322316
/// [ContractionOpToMatmulOpLowering]

mlir/lib/Conversion/VectorToLLVM/ConvertVectorToLLVMPass.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ void ConvertVectorToLLVMPass::runOnOperation() {
9595
populateVectorRankReducingFMAPattern(patterns);
9696
populateVectorGatherLoweringPatterns(patterns);
9797
populateVectorFromElementsLoweringPatterns(patterns);
98-
populateVectorToElementsLoweringPatterns(patterns);
98+
populateVectorToElementsUnrollPatterns(patterns);
9999
if (armI8MM) {
100100
if (armNeon)
101101
arm_neon::populateLowerContractionToNeonI8MMPatterns(patterns);

mlir/lib/Dialect/Vector/TransformOps/VectorTransformOps.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ void transform::ApplyUnrollFromElementsPatternsOp::populatePatterns(
151151

152152
void transform::ApplyUnrollToElementsPatternsOp::populatePatterns(
153153
RewritePatternSet &patterns) {
154-
vector::populateVectorToElementsLoweringPatterns(patterns);
154+
vector::populateVectorToElementsUnrollPatterns(patterns);
155155
}
156156

157157
void transform::ApplyLowerScanPatternsOp::populatePatterns(

mlir/lib/Dialect/Vector/Transforms/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ add_mlir_dialect_library(MLIRVectorTransforms
1111
LowerVectorScan.cpp
1212
LowerVectorShapeCast.cpp
1313
LowerVectorStep.cpp
14-
LowerVectorToElements.cpp
1514
LowerVectorToFromElementsToShuffleTree.cpp
1615
LowerVectorTransfer.cpp
1716
LowerVectorTranspose.cpp

mlir/lib/Dialect/Vector/Transforms/LowerVectorToElements.cpp

Lines changed: 0 additions & 53 deletions
This file was deleted.

0 commit comments

Comments
 (0)