[Mlir-commits] [mlir] [mlir][linalg] Fix empty outer dim case for packing reshape op (PR #96732)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Wed Jun 26 01:46:16 PDT 2024
yifeizh2 wrote:
> Thanks a lot for the fix. Current approach works but I wonder if it could be a bit simpler to address it at the helper `applyPermutationAndReindexReassoc`. It might enough to skip `applyPermutationToVector` when `permutation` is empty.
Thanks for the suggestion! I changed the logic to be skipping `applyPermutationToVector` when `permutation` is empty.
https://github.com/llvm/llvm-project/pull/96732
More information about the Mlir-commits
mailing list