commit | 197f6a8f718105c64c58a96adbb10295ea012c82 | [log] [tgz] |
---|---|---|
author | gysit <gysit@google.com> | Tue Nov 30 14:48:25 2021 +0000 |
committer | Copybara-Service <copybara-worker@google.com> | Tue Nov 30 07:10:56 2021 -0800 |
tree | b25a211ed2254ea72436c71b07884f73b61cda94 | |
parent | ffa408ad42d32ccbe64803eca0b1bec09f477c2f [diff] |
[mlir][linalg] Run CSE after every CodegenStrategy transformation. Add CSE after every transformation. Transformations such as tiling introduce redundant computation, for example, one AffineMinOp for every operand dimension pair. Follow up transformations such as Padding and Hoisting benefit from CSE since comparing slice sizes simplifies to comparing SSA values instead of analyzing affine expressions. Reviewed By: nicolasvasilache Differential Revision: https://reviews.llvm.org/D114585 GitOrigin-RevId: 914e72d40014de1c61709969666be59f27712e5e
See https://mlir.llvm.org/ for more information.