Commit a2d0a90
Vasileios Porpodas
[SandboxVec][Scheduler] Fix clear() to clear all state
This patch fixes the scheduler's clear() function to also clear
the ReadyList. Not doing so is a bug and results in crashes when the
ReadyList contains stale instructions, because it was never clered.1 parent d2234ca commit a2d0a90
File tree
2 files changed
+10
-0
lines changed- llvm/include/llvm/Transforms/Vectorize/SandboxVectorizer
2 files changed
+10
-0
lines changedLines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
417 | 417 | | |
418 | 418 | | |
419 | 419 | | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
| 423 | + | |
| 424 | + | |
| 425 | + | |
| 426 | + | |
420 | 427 | | |
421 | 428 | | |
422 | 429 | | |
| |||
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
164 | 164 | | |
165 | 165 | | |
166 | 166 | | |
| 167 | + | |
167 | 168 | | |
| 169 | + | |
| 170 | + | |
168 | 171 | | |
169 | 172 | | |
170 | 173 | | |
| |||
0 commit comments