Commit ff5f8e5
authored
[MLIR][Presburger] removeTrivialRedundancy: skip unnecessary check for duplicate constraints (#138969)
`removeTrivialRedundancy` first marks duplicate rows redundant, then
when multiple rows differ only by a constant term, it removes all but
one of them. Since the latter removes all but one duplicate row as well,
it is unnecessary (redundant!) to mark duplicate rows redundant. So we
remove this step.1 parent 618a399 commit ff5f8e5
1 file changed
+1
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
25 | 24 | | |
26 | 25 | | |
27 | 26 | | |
| |||
45 | 44 | | |
46 | 45 | | |
47 | 46 | | |
48 | | - | |
49 | 47 | | |
50 | 48 | | |
51 | 49 | | |
| |||
1824 | 1822 | | |
1825 | 1823 | | |
1826 | 1824 | | |
1827 | | - | |
1828 | | - | |
1829 | 1825 | | |
1830 | 1826 | | |
1831 | 1827 | | |
| |||
1840 | 1836 | | |
1841 | 1837 | | |
1842 | 1838 | | |
1843 | | - | |
1844 | | - | |
| 1839 | + | |
1845 | 1840 | | |
1846 | 1841 | | |
1847 | 1842 | | |
| |||
0 commit comments