commit | 0ac7b637965eb9523ebed3333081929070d69a42 | [log] [tgz] |
---|---|---|
author | Rob Suderman <rob.suderman@gmail.com> | Fri Apr 19 10:36:09 2024 -0700 |
committer | Copybara-Service <copybara-worker@google.com> | Fri Apr 19 10:42:18 2024 -0700 |
tree | 03e65549517e3c1969895852c12eaa034b25c5dd | |
parent | ce204240f6772f71c0e1dc9f810339f7e09e1bb8 [diff] |
[mlir][tensor] Fold `tensor.reshape` for dynamic reshape (#88961) If `tensor.reshape` occurs with `d0, d1, d2, ...` for the dimensions we know that the reshape is a no-op. Checking for this case lets us fold away the computation. GitOrigin-RevId: c045955501ed28fee7c40d8822a1aacc2022786e
See https://mlir.llvm.org/ for more information.