[AVR] Remove a bunch of unused variables

llvm-svn: 287416
This commit is contained in:
Dylan McKay 2016-11-19 01:33:42 +00:00
parent 958edcbdd6
commit 1a55f201ef
2 changed files with 2 additions and 7 deletions

View File

@ -107,6 +107,7 @@ bool AVRAsmPrinter::PrintAsmOperand(const MachineInstr *MI, unsigned OpNum,
unsigned OpFlags = MI->getOperand(OpNum - 1).getImm();
unsigned NumOpRegs = InlineAsm::getNumOperandRegisters(OpFlags);
(void)NumOpRegs;
const AVRSubtarget &STI = MF->getSubtarget<AVRSubtarget>();
const TargetRegisterInfo &TRI = *STI.getRegisterInfo();
@ -143,6 +144,7 @@ bool AVRAsmPrinter::PrintAsmMemoryOperand(const MachineInstr *MI,
}
const MachineOperand &MO = MI->getOperand(OpNum);
(void)MO;
assert(MO.isReg() && "Unexpected inline asm memory operand");
// TODO: We can look up the alternative name for the register if it's given.

View File

@ -42,13 +42,6 @@ def ArgCC_AVR_Vararg : CallingConv
CCAssignToStack<2, 1>
]>;
// Special argument calling convention for
// multiplication runtime functions.
def ArgCC_AVR_BUILTIN_MUL : CallingConv
<[
CCIfType<[i16], CCAssignToReg<[R27R26,R19R18]>>
]>;
// Special argument calling convention for
// division runtime functions.
def ArgCC_AVR_BUILTIN_DIV : CallingConv