[llvm] r351025 - Fix unused variable warning. NFCI.

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Sun Jan 13 13:53:12 PST 2019


Author: rksimon
Date: Sun Jan 13 13:53:12 2019
New Revision: 351025

URL: http://llvm.org/viewvc/llvm-project?rev=351025&view=rev
Log:
Fix unused variable warning. NFCI.

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

Modified: llvm/trunk/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/SelectionDAG/DAGCombiner.cpp?rev=351025&r1=351024&r2=351025&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/SelectionDAG/DAGCombiner.cpp (original)
+++ llvm/trunk/lib/CodeGen/SelectionDAG/DAGCombiner.cpp Sun Jan 13 13:53:12 2019
@@ -2772,7 +2772,6 @@ SDValue DAGCombiner::visitSUB(SDNode *N)
 }
 
 SDValue DAGCombiner::visitSUBSAT(SDNode *N) {
-  unsigned Opcode = N->getOpcode();
   SDValue N0 = N->getOperand(0);
   SDValue N1 = N->getOperand(1);
   EVT VT = N0.getValueType();




More information about the llvm-commits mailing list