Eliminate the stack slot used to save the global base register.
[oota-llvm.git] / lib / CodeGen / StrongPHIElimination.cpp
index 9f5ec2da1e6a698aa3ecdde133a1e86d788c0b91..c6fdc73824355ffd0291b3d2a27a87789e283496 100644 (file)
@@ -228,7 +228,6 @@ static MachineOperand *findLastUse(MachineBasicBlock *MBB, unsigned Reg) {
         return &MO;
     }
   }
-  return NULL;
 }
 
 bool StrongPHIElimination::runOnMachineFunction(MachineFunction &MF) {
@@ -394,8 +393,6 @@ bool StrongPHIElimination::runOnMachineFunction(MachineFunction &MF) {
     LastUse->setIsKill(true);
   }
 
-  LI->renumber();
-
   Allocator.Reset();
   RegNodeMap.clear();
   PHISrcDefs.clear();