diff options
author | David Blaikie <dblaikie@gmail.com> | 2012-01-16 05:17:39 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2012-01-16 05:17:39 +0000 |
commit | 810d6d3354a31f24125abef831e4afccbbbe973d (patch) | |
tree | 808796228e832f19594ca1f5543444af59c2ccbc /lib/CodeGen/SelectionDAG/TargetLowering.cpp | |
parent | bf42139989695b35cf3e21be2e756bdc8c315ffb (diff) |
Refactor variables unused under non-assert builds (& remove two entirely unused variables).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@148230 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/TargetLowering.cpp')
-rw-r--r-- | lib/CodeGen/SelectionDAG/TargetLowering.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/CodeGen/SelectionDAG/TargetLowering.cpp b/lib/CodeGen/SelectionDAG/TargetLowering.cpp index 5574b21441..c9d9617cc3 100644 --- a/lib/CodeGen/SelectionDAG/TargetLowering.cpp +++ b/lib/CodeGen/SelectionDAG/TargetLowering.cpp @@ -1615,8 +1615,6 @@ bool TargetLowering::SimplifyDemandedBits(SDValue Op, if (MsbMask == DemandedMask) { unsigned ShAmt = ExVT.getScalarType().getSizeInBits(); SDValue InOp = Op.getOperand(0); - EVT InVT = Op.getOperand(0).getValueType(); - EVT ShTy = getShiftAmountTy(InVT); // In this code we may handle vector types. We can't use the // getShiftAmountTy API because it only works on scalars. // We use the shift value type because we know that its an integer |