[llvm] r363954 - [DAGCombiner][NFC] Remove unused var
Jordan Rupprecht via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 20 10:30:01 PDT 2019
Author: rupprecht
Date: Thu Jun 20 10:30:01 2019
New Revision: 363954
URL: http://llvm.org/viewvc/llvm-project?rev=363954&view=rev
Log:
[DAGCombiner][NFC] Remove unused var
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=363954&r1=363953&r2=363954&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/SelectionDAG/DAGCombiner.cpp (original)
+++ llvm/trunk/lib/CodeGen/SelectionDAG/DAGCombiner.cpp Thu Jun 20 10:30:01 2019
@@ -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();
More information about the llvm-commits
mailing list