mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-22 20:20:03 +00:00
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:
parent
6045417fcc
commit
80564f761a
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user