[llvm] 6231ef2 - Remove an unused variable, NFC.

Haojian Wu via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 4 03:20:48 PST 2022


Author: Haojian Wu
Date: 2022-01-04T12:20:04+01:00
New Revision: 6231ef2624159bdedac346621a52a6ae9ae8e2a5

URL: https://github.com/llvm/llvm-project/commit/6231ef2624159bdedac346621a52a6ae9ae8e2a5
DIFF: https://github.com/llvm/llvm-project/commit/6231ef2624159bdedac346621a52a6ae9ae8e2a5.diff

LOG: Remove an unused variable, NFC.

Added: 
    

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

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Target/AVR/AVRExpandPseudoInsts.cpp b/llvm/lib/Target/AVR/AVRExpandPseudoInsts.cpp
index eaff501ebe3b..3c93da8e2039 100644
--- a/llvm/lib/Target/AVR/AVRExpandPseudoInsts.cpp
+++ b/llvm/lib/Target/AVR/AVRExpandPseudoInsts.cpp
@@ -1927,7 +1927,6 @@ bool AVRExpandPseudo::expandASRB6Rd(Block &MBB, BlockIt MBBI) {
   Register DstReg = MI.getOperand(0).getReg();
   bool DstIsDead = MI.getOperand(0).isDead();
   bool DstIsKill = MI.getOperand(1).isKill();
-  bool ImpIsDead = MI.getOperand(3).isDead();
 
   // bst r24, 6
   // lsl r24


        


More information about the llvm-commits mailing list