Skip to content

Commit

Permalink
Fix -Wunused-variable.
Browse files Browse the repository at this point in the history
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@305051 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
rui314 committed Jun 9, 2017
1 parent 477e072 commit f226576
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/Target/AVR/AVRRegisterInfo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,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());

// Reserve the intermediate result registers r1 and r2
// The result of instructions like 'mul' is always stored here.
Expand Down Expand Up @@ -269,4 +268,3 @@ void AVRRegisterInfo::splitReg(unsigned Reg,
}

} // end of namespace llvm

0 comments on commit f226576

Please sign in to comment.