[Mlir-commits] [mlir] [mlir][tensor] Fold `tensor.reshape` for dynamic reshape (PR #88961)

Rob Suderman llvmlistbot at llvm.org
Wed Apr 17 11:17:23 PDT 2024


rsuderman wrote:

> I thought we don't `tensor.reshape` ops... I don't have context about this operation, maybe @MaheshRavishankar ? If you need me to review the change, I can study the op semantic and review the PR.

We do have to support it eventually, namely for the dynamic case where we have a reshape with dynamic dimensions to dynamic dimensions. e.g. a reshape from `tensor<?xi32>` to `tensor<?x?xi32>` cannot be performed via an expand.

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


More information about the Mlir-commits mailing list