[Mlir-commits] [mlir] [mlir][tensor] Fold pack and unpack of empty input tensor (PR #92247)
Adam Siemieniuk
llvmlistbot at llvm.org
Wed May 15 09:05:12 PDT 2024
adam-smnk wrote:
Thanks for the feedback. I'll move it to the folder patterns.
> Also packs have padding semantics. Those need to be accounted for. I think if there is padding you can't do this transformation
At first I treated packing on empty as mostly UB but I suppose you could materialize it as a valid initialization of a buffer.
I'll make the transform more conservative.
https://github.com/llvm/llvm-project/pull/92247
More information about the Mlir-commits
mailing list