Remove unused variable.
authorEric Christopher <echristo@gmail.com>
Thu, 22 May 2014 05:33:03 +0000 (05:33 +0000)
committerEric Christopher <echristo@gmail.com>
Thu, 22 May 2014 05:33:03 +0000 (05:33 +0000)
llvm-svn: 209391

llvm/lib/CodeGen/TargetLoweringBase.cpp

index 9784324..2634d71 100644 (file)
@@ -915,7 +915,6 @@ bool TargetLoweringBase::isLegalRC(const TargetRegisterClass *RC) const {
 MachineBasicBlock*
 TargetLoweringBase::emitPatchPoint(MachineInstr *MI,
                                    MachineBasicBlock *MBB) const {
-  const TargetMachine &TM = getTargetMachine();
   MachineFunction &MF = *MI->getParent()->getParent();
 
   // MI changes inside this loop as we grow operands.