Remove unused APInt variable.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35414 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Zhou Sheng
2007-03-28 03:02:21 +00:00
parent c10f0af135
commit b32c00603b

View File

@@ -784,9 +784,6 @@ static void ComputeMaskedBits(Value *V, const APInt &Mask, APInt& KnownZero,
KnownZero = APIntOps::lshr(KnownZero, ShiftAmt);
KnownOne = APIntOps::lshr(KnownOne, ShiftAmt);
// Handle the sign bits and adjust to where it is now in the mask.
APInt SignBit(APInt::getSignBit(BitWidth).lshr(ShiftAmt));
APInt HighBits(APInt::getHighBitsSet(BitWidth, ShiftAmt));
if (KnownZero[BitWidth-ShiftAmt-1]) // New bits are known zero.
KnownZero |= HighBits;