[Mlir-commits] [mlir] [mlir][tensor] Loosen restrictions on folding dynamic reshapes (PR #137963)

Ian Wood llvmlistbot at llvm.org
Tue Jun 3 12:47:12 PDT 2025


IanWood1 wrote:

I think this is a static case that can't be modeled by a collapse: `2x10x5 -> 100 -> 10x10`.


In the case of `?x8x128x? -> ? -> ?x128x?` the final 2 dynamic dims could be anything (e.g. the left got 2x bigger and the right got 2x smaller)

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


More information about the Mlir-commits mailing list