mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-12 05:56:28 +00:00
hoist loop-invariant; NFCI
llvm-svn: 239681
This commit is contained in:
parent
240207c1c1
commit
fbf2cb2852
@ -387,10 +387,9 @@ bool MachineCombiner::combineInstructions(MachineBasicBlock *MBB) {
|
||||
} else {
|
||||
// Cleanup instructions of the alternative code sequence. There is no
|
||||
// use for them.
|
||||
for (auto *InstrPtr : InsInstrs) {
|
||||
MachineFunction *MF = MBB->getParent();
|
||||
MachineFunction *MF = MBB->getParent();
|
||||
for (auto *InstrPtr : InsInstrs)
|
||||
MF->DeleteMachineInstr(InstrPtr);
|
||||
}
|
||||
}
|
||||
InstrIdxForVirtReg.clear();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user