[Mlir-commits] [mlir] [mlir][tensor] Implement folding logic for size 0 tensor and memref ops (PR #90814)

Spenser Bauman llvmlistbot at llvm.org
Mon May 20 13:36:23 PDT 2024


sabauma wrote:

In our case this was occurring after some lowering patterns which generate a lot of `extract_slice` and `insert_slice` patterns. We do some folding during the lowering, but the fact that the slices are size-0 is not always obvious until after canonicalizing.

https://github.com/llvm/llvm-project/pull/90814


More information about the Mlir-commits mailing list