mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 20:51:52 +01:00
[AVR] Remove a bunch of unused variables
llvm-svn: 287416
This commit is contained in:
parent
956c69a0f8
commit
864fb084b4
@ -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.
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user