This patch improves the representation size of individual
IntegerRelations by calling the function
IntegerRelation::removeRedundantConstraints. While this is only a
slight optimization in the current version, it will be necessary for
patches to come.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
mlir/lib/Analysis/Presburger/PresburgerRelation.cpp | ||
---|---|---|
492–498 | Will there be an issue if disjuncts[i] loses some constraints and these are not present in simp? Should simp be constructed after removing redundant constraints here? |
mlir/lib/Analysis/Presburger/PresburgerRelation.cpp | ||
---|---|---|
492–498 | AFAIK, the simp won't be updated when disjuncts[i] changes, so you are right, redundant constraints should be removed first, then the simplex should be constructed. |
Will there be an issue if disjuncts[i] loses some constraints and these are not present in simp? Should simp be constructed after removing redundant constraints here?