[llvm] d295723 - [NFC] Remove unused var Op

Jordan Rupprecht via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 11 14:48:05 PST 2022


Author: Jordan Rupprecht
Date: 2022-11-11T14:47:57-08:00
New Revision: d2957238c88cd92c844db91a81ee0f6781dbe538

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

LOG: [NFC] Remove unused var Op

Added: 
    

Modified: 
    llvm/lib/Target/AArch64/AArch64ISelDAGToDAG.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Target/AArch64/AArch64ISelDAGToDAG.cpp b/llvm/lib/Target/AArch64/AArch64ISelDAGToDAG.cpp
index ab9bbe124033..87fd2e2fb407 100644
--- a/llvm/lib/Target/AArch64/AArch64ISelDAGToDAG.cpp
+++ b/llvm/lib/Target/AArch64/AArch64ISelDAGToDAG.cpp
@@ -2922,7 +2922,6 @@ static bool tryOrrWithShift(SDNode *N, SDValue OrOpd0, SDValue OrOpd1,
 
   assert((!BiggerPattern) && "BiggerPattern should be handled above");
 
-  SDValue Op;
   uint64_t ShlImm;
   if (isOpcWithIntImmediate(OrOpd0.getNode(), ISD::SHL, ShlImm)) {
     if (OrOpd0.getOperand(0) == Src && OrOpd0.hasOneUse()) {


        


More information about the llvm-commits mailing list