1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 19:12:56 +02:00

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 b89aa47081
commit 9c1e298f14

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);
}