[Mlir-commits] [mlir] [mlir][vector] Add pattern to drop unit dim from elementwise(a, b)) (PR #74817)

Diego Caballero llvmlistbot at llvm.org
Wed Dec 13 01:39:34 PST 2023


================
@@ -294,6 +294,10 @@ void populateCastAwayVectorLeadingOneDimPatterns(RewritePatternSet &patterns,
 void populateVectorTransferDropUnitDimsPatterns(RewritePatternSet &patterns,
                                                 PatternBenefit benefit = 1);
 
+/// Collect a set of vector.shape_cast folding patterns.
+void populateReorderShapeCastPatterns(RewritePatternSet &patterns,
----------------
dcaballe wrote:

Should we add "drop unit dims" to the name somehow and remove "reorder"?

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


More information about the Mlir-commits mailing list