[llvm] 107e92d - [DAG] Remove unused variable. NFC.

Benjamin Kramer via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 1 07:29:34 PST 2020


Author: Benjamin Kramer
Date: 2020-12-01T16:29:02+01:00
New Revision: 107e92dff8ca3c27478baccc50e183d81da7ea17

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

LOG: [DAG] Remove unused variable. NFC.

Added: 
    

Modified: 
    llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp b/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
index 1684ec90f676..9505204732c8 100644
--- a/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
@@ -9758,7 +9758,7 @@ SDValue DAGCombiner::visitVSELECT(SDNode *N) {
       }
 
       if (Other && Other.getNumOperands() == 2 && Other.getOperand(0) == LHS) {
-        SDValue CondLHS = LHS, CondRHS = RHS;
+        SDValue CondRHS = RHS;
         SDValue OpLHS = Other.getOperand(0), OpRHS = Other.getOperand(1);
 
         // Look for a general sub with unsigned saturation first.


        


More information about the llvm-commits mailing list