[Mlir-commits] [mlir] [Linalg] Add pattern to push down extract slice through linalg generic op (PR #154162)

Nirvedh Meshram llvmlistbot at llvm.org
Mon Aug 18 18:04:17 PDT 2025


================
@@ -1918,6 +1918,11 @@ void populateDataLayoutPropagationPatterns(
     RewritePatternSet &patterns,
     const ControlPropagationFn &controlPackUnPackPropagation);
 
+/// Patterns to bubble up or down extract slice across other operations.
+void populateExtractSlicePropagationPatterns(
----------------
nirvedhmeshram wrote:

I was just copy pasting the comment from the function above this one, currently we only have sinking through generic op. I have changed the comment and renamed the function to `populateExtractSliceSinkingPatterns`

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


More information about the Mlir-commits mailing list