Commit 69fc24b
committed
Fix
With symbolic gather operations, invalid indices might have been pushed/propagated to previous gather nodes in the dependency tree which could produce out-of-bound memory reads if there was an other gather operation in the tree. This commit also propagates the mask throughout the tree to guarantee that no out-of-bound reads will be made.gather operations on results of other gather operations1 parent 2581dd6 commit 69fc24b
2 files changed
+31
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1415 | 1415 | | |
1416 | 1416 | | |
1417 | 1417 | | |
1418 | | - | |
| 1418 | + | |
1419 | 1419 | | |
1420 | 1420 | | |
1421 | 1421 | | |
| |||
1439 | 1439 | | |
1440 | 1440 | | |
1441 | 1441 | | |
1442 | | - | |
| 1442 | + | |
| 1443 | + | |
| 1444 | + | |
| 1445 | + | |
| 1446 | + | |
| 1447 | + | |
| 1448 | + | |
| 1449 | + | |
| 1450 | + | |
| 1451 | + | |
1443 | 1452 | | |
1444 | 1453 | | |
1445 | 1454 | | |
| |||
1527 | 1536 | | |
1528 | 1537 | | |
1529 | 1538 | | |
1530 | | - | |
| 1539 | + | |
1531 | 1540 | | |
1532 | 1541 | | |
1533 | 1542 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
213 | 213 | | |
214 | 214 | | |
215 | 215 | | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
0 commit comments