[Mlir-commits] [mlir] [MLIR] Bubble up tensor.extract_slice through tensor.collapse_shape (PR #131982)
Andrzej WarzyĆski
llvmlistbot at llvm.org
Sun Mar 23 06:44:34 PDT 2025
================
@@ -428,6 +429,190 @@ struct BubbleUpExpandShapeThroughExtractSlice
}
};
+/// Converts `tensor.collapse_shape(tensor.extract_slice)` to
+/// `tensor.extract_slice(tensor.collapse_shape)`.
----------------
banach-space wrote:
Shouldn't this be the other way round?
https://github.com/llvm/llvm-project/pull/131982
More information about the Mlir-commits
mailing list