[llvm] 80ef5c5 - Remove unused variable

Guillaume Chatelet via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 31 00:30:02 PDT 2020


Author: Guillaume Chatelet
Date: 2020-03-31T07:29:49Z
New Revision: 80ef5c56406bf11685c7dcb0038f7ad7a624a742

URL: https://github.com/llvm/llvm-project/commit/80ef5c56406bf11685c7dcb0038f7ad7a624a742
DIFF: https://github.com/llvm/llvm-project/commit/80ef5c56406bf11685c7dcb0038f7ad7a624a742.diff

LOG: Remove unused variable

Added: 
    

Modified: 
    llvm/lib/Target/AVR/AVRFrameLowering.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Target/AVR/AVRFrameLowering.cpp b/llvm/lib/Target/AVR/AVRFrameLowering.cpp
index 27b987317123..7fc15f0af77d 100644
--- a/llvm/lib/Target/AVR/AVRFrameLowering.cpp
+++ b/llvm/lib/Target/AVR/AVRFrameLowering.cpp
@@ -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();


        


More information about the llvm-commits mailing list