[llvm] r287416 - [AVR] Remove a bunch of unused variables
Dylan McKay via llvm-commits
llvm-commits at lists.llvm.org
Fri Nov 18 17:33:42 PST 2016
Author: dylanmckay
Date: Fri Nov 18 19:33:42 2016
New Revision: 287416
URL: http://llvm.org/viewvc/llvm-project?rev=287416&view=rev
Log:
[AVR] Remove a bunch of unused variables
Modified:
llvm/trunk/lib/Target/AVR/AVRAsmPrinter.cpp
llvm/trunk/lib/Target/AVR/AVRCallingConv.td
Modified: llvm/trunk/lib/Target/AVR/AVRAsmPrinter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/AVR/AVRAsmPrinter.cpp?rev=287416&r1=287415&r2=287416&view=diff
==============================================================================
--- llvm/trunk/lib/Target/AVR/AVRAsmPrinter.cpp (original)
+++ llvm/trunk/lib/Target/AVR/AVRAsmPrinter.cpp Fri Nov 18 19:33:42 2016
@@ -107,6 +107,7 @@ bool AVRAsmPrinter::PrintAsmOperand(cons
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::PrintAsmMemoryOperan
}
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.
Modified: llvm/trunk/lib/Target/AVR/AVRCallingConv.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/AVR/AVRCallingConv.td?rev=287416&r1=287415&r2=287416&view=diff
==============================================================================
--- llvm/trunk/lib/Target/AVR/AVRCallingConv.td (original)
+++ llvm/trunk/lib/Target/AVR/AVRCallingConv.td Fri Nov 18 19:33:42 2016
@@ -43,13 +43,6 @@ def ArgCC_AVR_Vararg : CallingConv
]>;
// 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
<[
More information about the llvm-commits
mailing list