[all-commits] [llvm/llvm-project] 914e72: [mlir][linalg] Run CSE after every CodegenStrategy...
Tobias Gysi via All-commits
all-commits at lists.llvm.org
Tue Nov 30 07:09:28 PST 2021
Author: gysit <gysit at google.com>
Date: 2021-11-30 (Tue, 30 Nov 2021)
[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
More information about the All-commits