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. _______________________________________________ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits