forked from OSchip/llvm-project
Change an assertion to assert what the code actually relies upon.
llvm-svn: 122586
This commit is contained in:
parent
cb18bfa3d2
commit
5e5cfbe871
|
@ -283,7 +283,7 @@ bool StrongPHIElimination::runOnMachineFunction(MachineFunction& MF) {
|
|||
LiveInterval& DestLI = LI->getInterval(DestReg);
|
||||
LiveInterval& NewLI = LI->getInterval(NewReg);
|
||||
|
||||
assert(DestLI.containsOneValue());
|
||||
assert(DestLI.ranges.size() == 1);
|
||||
LiveRange* DestLR = DestLI.begin();
|
||||
VNInfo* NewVNI = NewLI.getVNInfoAt(DestLR->start);
|
||||
if (!NewVNI) {
|
||||
|
|
Loading…
Reference in New Issue