We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8b62114 commit b178c2dCopy full SHA for b178c2d
llvm/lib/Transforms/Vectorize/SandboxVectorizer/Scheduler.cpp
@@ -172,6 +172,8 @@ void Scheduler::trimSchedule(ArrayRef<Instruction *> Instrs) {
172
for (auto *I = LowestI, *E = TopI->getPrevNode(); I != E;
173
I = I->getPrevNode()) {
174
auto *N = DAG.getNode(I);
175
+ if (N == nullptr)
176
+ continue;
177
if (auto *SB = N->getSchedBundle())
178
eraseBundle(SB);
179
}
0 commit comments