Skip to content

Commit 039c834

Browse files
committed
[scavenger] Remove unused iterator. NFC
1 parent 66134e7 commit 039c834

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

llvm/lib/CodeGen/RegisterScavenging.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,6 @@ Register RegScavenger::scavengeRegisterBackwards(const TargetRegisterClass &RC,
300300
const MachineFunction &MF = *MBB.getParent();
301301

302302
// Find the register whose use is furthest away.
303-
MachineBasicBlock::iterator UseMI;
304303
ArrayRef<MCPhysReg> AllocationOrder = RC.getRawAllocationOrder(MF);
305304
std::pair<MCPhysReg, MachineBasicBlock::iterator> P = findSurvivorBackwards(
306305
*MRI, std::prev(MBBI), To, LiveUnits, AllocationOrder, RestoreAfter);

0 commit comments

Comments
 (0)