This repository was archived by the owner on Apr 28, 2023. It is now read-only.
Commit b0f4404
Sven Verdoolaege
MappedScop::detectReductions: check that member exists before accessing it
If all members in the band are coincident, then the member
that gets checked for being a reduction lies beyond the band.
It is not clear if this can happen in practice in the current code base
because the band has already been checked for not containing
anything beyond a single update statement and optionally
the corresponding init statement. However, these restrictions
may get relaxed at some point and there is no point in continuing
if all member are coincident.1 parent 34542a5 commit b0f4404
1 file changed
+4
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
203 | 203 | | |
204 | 204 | | |
205 | 205 | | |
206 | | - | |
| 206 | + | |
| 207 | + | |
207 | 208 | | |
208 | | - | |
| 209 | + | |
| 210 | + | |
209 | 211 | | |
210 | 212 | | |
211 | 213 | | |
| |||
0 commit comments