Delete code accidentally left behind.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@90804 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Evan Cheng 2009-12-07 21:19:33 +00:00
parent 6045417fcc
commit 80564f761a

View File

@ -244,16 +244,6 @@ bool TailDuplicatePass::TailDuplicateBlocks(MachineFunction &MF) {
if (UseMI->getParent() == DefBB)
continue;
SSAUpdate.RewriteUse(UseMO);
while (!NewPHIs.empty()) {
MachineInstr *NewPHI = NewPHIs.back();
NewPHIs.pop_back();
unsigned PHIDef = NewPHI->getOperand(0).getReg();
for (unsigned j = 1, ee = NewPHI->getNumOperands(); j != ee;
j += 2) {
if (NewPHI->getOperand(j).getReg() == VReg)
NewPHI->getOperand(j).setReg(PHIDef);
}
}
}
}