summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorJordan Rupprecht <rupprecht@google.com>2019-06-20 17:30:01 +0000
committerJordan Rupprecht <rupprecht@google.com>2019-06-20 17:30:01 +0000
commit02508decf4ad4b032b7f64f8f8a7f2b7db981344 (patch)
tree979ade97b7c017092d1cd0bf5d67db9553ae3fe8 /llvm/lib
parent8c80d08052e0084cc4494b8b5410c59f3cf8ba96 (diff)
downloadbcm5719-llvm-02508decf4ad4b032b7f64f8f8a7f2b7db981344.tar.gz
bcm5719-llvm-02508decf4ad4b032b7f64f8f8a7f2b7db981344.zip
[DAGCombiner][NFC] Remove unused var
llvm-svn: 363954
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp b/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
index 4b50ea4785c..8959ac92c1f 100644
--- a/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
+++ b/llvm/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();
OpenPOWER on IntegriCloud