diff options
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp')
-rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp b/llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp index 083173d..ba34c72 100644 --- a/llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp @@ -7965,7 +7965,6 @@ bool TargetLowering::expandDIVREMByConstant(SDNode *N, // If we shifted the input, shift the remainder left and add the bits we // shifted off the input. if (TrailingZeros) { - APInt Mask = APInt::getLowBitsSet(HBitWidth, TrailingZeros); RemL = DAG.getNode(ISD::SHL, dl, HiLoVT, RemL, DAG.getShiftAmountConstant(TrailingZeros, HiLoVT, dl)); RemL = DAG.getNode(ISD::ADD, dl, HiLoVT, RemL, PartialRem); |