[Mlir-commits] [mlir] [mlir][tensor] Fold pack and unpack of empty input tensor (PR #92247)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Wed May 15 08:25:10 PDT 2024
https://github.com/MaheshRavishankar requested changes to this pull request.
Thanks for adding these. I don't think these should be folders or canonicalizations. There are patterns that do folding of tensor.empty and it's consumers, these are better suited there.
Also packs have padding semantics. Those need to be accounted for. I think if there is padding you can't do this transformation
https://github.com/llvm/llvm-project/pull/92247
More information about the Mlir-commits
mailing list