[Mlir-commits] [mlir] [mlir] Add pattern to bubble up and cancel `vector.shape_cast` (PR #75881)
Jerry Wu
llvmlistbot at llvm.org
Wed Jan 10 08:53:33 PST 2024
pzread wrote:
> @pzread , do you have a motivating example for this? That would help start a discussion.
I was trying to use this pattern to resolve extra shape_cast generated with `populateDropUnitDimWithShapeCastPatterns` in https://github.com/openxla/iree/pull/15839 in some cases. But after more tests, it results in more shape_cast in some other cases...
I'll need to refine it again later.
https://github.com/llvm/llvm-project/pull/75881
More information about the Mlir-commits
mailing list