[llvm] r349377 - NFC: remove unused variable

JF Bastien via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 17 11:03:24 PST 2018


Author: jfb
Date: Mon Dec 17 11:03:24 2018
New Revision: 349377

URL: http://llvm.org/viewvc/llvm-project?rev=349377&view=rev
Log:
NFC: remove unused variable

D55768 removed its use.

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

Modified: llvm/trunk/lib/CodeGen/SelectionDAG/TargetLowering.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/SelectionDAG/TargetLowering.cpp?rev=349377&r1=349376&r2=349377&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/SelectionDAG/TargetLowering.cpp (original)
+++ llvm/trunk/lib/CodeGen/SelectionDAG/TargetLowering.cpp Mon Dec 17 11:03:24 2018
@@ -1976,7 +1976,6 @@ bool TargetLowering::SimplifyDemandedBit
           Op.getOpcode() == ISD::INTRINSIC_VOID) &&
          "Should use SimplifyDemandedBits if you don't know whether Op"
          " is a target node!");
-  EVT VT = Op.getValueType();
   computeKnownBitsForTargetNode(Op, Known, DemandedElts, TLO.DAG, Depth);
   return false;
 }




More information about the llvm-commits mailing list