This repository was archived by the owner on Apr 28, 2023. It is now read-only.
Commit d99941a
Sven Verdoolaege
reduction_matcher.cc: isAlmostIdentityReduction: directly check isl::pw_aff
There is no need to check that the piecewise expression only has
a single cell. Having multiple cells does not affect the nature
of being a reduction.
The purpose of this change is not to catch more cases since
the isl scheduler currently does not produce any piecewise
band members, but rather to simplify the code.1 parent 1361815 commit d99941a
1 file changed
+6
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
79 | | - | |
80 | | - | |
| 79 | + | |
| 80 | + | |
81 | 81 | | |
82 | | - | |
| 82 | + | |
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
86 | | - | |
87 | | - | |
| 86 | + | |
| 87 | + | |
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
| |||
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | 114 | | |
121 | | - | |
| 115 | + | |
122 | 116 | | |
123 | 117 | | |
124 | 118 | | |
| |||
0 commit comments