]> granicus.if.org Git - llvm/commitdiff
[DAGCombiner][NFC] Remove unused var
authorJordan Rupprecht <rupprecht@google.com>
Thu, 20 Jun 2019 17:30:01 +0000 (17:30 +0000)
committerJordan Rupprecht <rupprecht@google.com>
Thu, 20 Jun 2019 17:30:01 +0000 (17:30 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@363954 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/SelectionDAG/DAGCombiner.cpp

index 4b50ea4785c18e3a0e8dd4f036c7d8b0fdc1555b..8959ac92c1f5fe05e24390f3e2d102dd59f0470d 100644 (file)
@@ -7263,7 +7263,6 @@ SDValue DAGCombiner::visitSHL(SDNode *N) {
       N0.getOperand(0).getOpcode() == ISD::SRL) {
     SDValue N0Op0 = N0.getOperand(0);
     SDValue InnerShiftAmt = N0Op0.getOperand(1);
-    EVT InnerShiftAmtVT = N0Op0.getOperand(1).getValueType();
 
     auto MatchEqual = [VT](ConstantSDNode *LHS, ConstantSDNode *RHS) {
       APInt c1 = LHS->getAPIntValue();