[Mlir-commits] [mlir] [MLIR] Bubble up tensor.extract_slice through tensor.collapse_shape (PR #131982)
ofri frishman
llvmlistbot at llvm.org
Mon Mar 24 03:20:32 PDT 2025
================
@@ -428,6 +429,190 @@ struct BubbleUpExpandShapeThroughExtractSlice
}
};
+/// Converts `tensor.collapse_shape(tensor.extract_slice)` to
+/// `tensor.extract_slice(tensor.collapse_shape)`.
----------------
ofri-frishman wrote:
Yes it should :)
Updated it.
https://github.com/llvm/llvm-project/pull/131982
More information about the Mlir-commits
mailing list