[all-commits] [llvm/llvm-project] 9aa743: [mlir][SCF] Further simplify affine maps during `f...
Matthias Springer via All-commits
all-commits at lists.llvm.org
Mon Feb 7 09:40:36 PST 2022
Author: Matthias Springer <springerm at google.com>
Date: 2022-02-08 (Tue, 08 Feb 2022)
[mlir][SCF] Further simplify affine maps during `for-loop-canonicalization`
* Implement `FlatAffineConstraints::getConstantBound(EQ)`.
* Inject a simpler constraint for loops that have at most 1 iteration.
* Taking into account constant EQ bounds of FlatAffineConstraint dims/symbols during canonicalization of the resulting affine map in `canonicalizeMinMaxOp`.
Differential Revision: https://reviews.llvm.org/D119153
More information about the All-commits