forked from OSchip/llvm-project
In line with the previous patch, do not assert out if analyzing a dead basic block.
llvm-svn: 14475
This commit is contained in:
parent
49b34f3f51
commit
4cda555346
|
@ -368,8 +368,11 @@ void LiveIntervals::handlePhysicalRegisterDef(MachineBasicBlock* mbb,
|
|||
}
|
||||
}
|
||||
|
||||
// LiveVariables does not compute information for dead basic blocks.
|
||||
DEBUG(std::cerr << "Didn't find the end of the interval. Must be in a "
|
||||
"dead block.");
|
||||
end = getDefIndex(start)+1;
|
||||
exit:
|
||||
assert(start < end && "did not find end of interval?");
|
||||
interval.addRange(start, end);
|
||||
DEBUG(std::cerr << '\n');
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue