[AVR] Remove an unused variable
authorDylan McKay <me@dylanmckay.io>
Sat, 13 May 2017 00:00:26 +0000 (00:00 +0000)
committerDylan McKay <me@dylanmckay.io>
Sat, 13 May 2017 00:00:26 +0000 (00:00 +0000)
llvm-svn: 302970

llvm/lib/Target/AVR/AVRRegisterInfo.cpp

index 2813e24..11a47ba 100644 (file)
@@ -52,7 +52,6 @@ AVRRegisterInfo::getCallPreservedMask(const MachineFunction &MF,
 BitVector AVRRegisterInfo::getReservedRegs(const MachineFunction &MF) const {
   BitVector Reserved(getNumRegs());
   const AVRTargetMachine &TM = static_cast<const AVRTargetMachine&>(MF.getTarget());
-  const TargetFrameLowering *TFI = TM.getSubtargetImpl()->getFrameLowering();
 
   // Reserve the intermediate result registers r1 and r2
   // The result of instructions like 'mul' is always stored here.