Make Clang happy.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@103528 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/CodeGen/RegAllocFast.cpp b/lib/CodeGen/RegAllocFast.cpp
index 6dc0534..b452a00 100644
--- a/lib/CodeGen/RegAllocFast.cpp
+++ b/lib/CodeGen/RegAllocFast.cpp
@@ -584,9 +584,9 @@
if (!MO.isReg()) continue;
unsigned Reg = MO.getReg();
if (!Reg || TargetRegisterInfo::isPhysicalRegister(Reg)) continue;
- LiveRegMap::iterator i = LiveVirtRegs.find(Reg);
- if (i != LiveVirtRegs.end())
- setPhysReg(MO, i->second.PhysReg);
+ LiveRegMap::iterator it = LiveVirtRegs.find(Reg);
+ if (it != LiveVirtRegs.end())
+ setPhysReg(MO, it->second.PhysReg);
else
MO.setReg(0); // We can't allocate a physreg for a DebugValue, sorry!
}