Remove unused variable
authorGuillaume Chatelet <gchatelet@google.com>
Tue, 31 Mar 2020 07:29:32 +0000 (07:29 +0000)
committerGuillaume Chatelet <gchatelet@google.com>
Tue, 31 Mar 2020 07:29:49 +0000 (07:29 +0000)
llvm/lib/Target/AVR/AVRFrameLowering.cpp

index 27b9873..7fc15f0 100644 (file)
@@ -52,7 +52,6 @@ bool AVRFrameLowering::hasReservedCallFrame(const MachineFunction &MF) const {
 void AVRFrameLowering::emitPrologue(MachineFunction &MF,
                                     MachineBasicBlock &MBB) const {
   MachineBasicBlock::iterator MBBI = MBB.begin();
-  CallingConv::ID CallConv = MF.getFunction().getCallingConv();
   DebugLoc DL = (MBBI != MBB.end()) ? MBBI->getDebugLoc() : DebugLoc();
   const AVRSubtarget &STI = MF.getSubtarget<AVRSubtarget>();
   const AVRInstrInfo &TII = *STI.getInstrInfo();