mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-24 06:25:18 +00:00
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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user