From 83e2cc3dcc1d44b7f55f398e8b6aa07366c2153b Mon Sep 17 00:00:00 2001 From: Jordan Rupprecht Date: Thu, 20 Jun 2019 17:30:01 +0000 Subject: [PATCH] [DAGCombiner][NFC] Remove unused var git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@363954 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/SelectionDAG/DAGCombiner.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/CodeGen/SelectionDAG/DAGCombiner.cpp b/lib/CodeGen/SelectionDAG/DAGCombiner.cpp index 4b50ea4785c..8959ac92c1f 100644 --- a/lib/CodeGen/SelectionDAG/DAGCombiner.cpp +++ b/lib/CodeGen/SelectionDAG/DAGCombiner.cpp @@ -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(); -- 2.50.1