Mark merged-in VNInfo's as being PHIKilled.

llvm-svn: 56893
This commit is contained in:
Owen Anderson 2008-09-30 23:58:47 +00:00
parent e8450fefdd
commit 15e6be8cc5
1 changed files with 5 additions and 0 deletions

View File

@ -977,6 +977,11 @@ bool StrongPHIElimination::runOnMachineFunction(MachineFunction &Fn) {
}
}
LiveInterval& Int = LI.getOrCreateInterval(I->first);
const LiveRange* LR =
Int.getLiveRangeContaining(LI.getMBBEndIdx(SI->second));
LR->valno->hasPHIKill = true;
I->second.erase(SI->first);
}