From: Benjamin Kramer Date: Tue, 1 Dec 2020 15:29:02 +0000 (+0100) Subject: [DAG] Remove unused variable. NFC. X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=107e92dff8ca3c27478baccc50e183d81da7ea17;p=android-x86%2Fexternal-llvm-project.git [DAG] Remove unused variable. NFC. --- diff --git a/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp b/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp index 1684ec90f67..9505204732c 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.