From b32c00603b517cf41646db5306ff2bbaf8beca1b Mon Sep 17 00:00:00 2001 From: Zhou Sheng Date: Wed, 28 Mar 2007 03:02:21 +0000 Subject: [PATCH] Remove unused APInt variable. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35414 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Transforms/Scalar/InstructionCombining.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/lib/Transforms/Scalar/InstructionCombining.cpp b/lib/Transforms/Scalar/InstructionCombining.cpp index d93b6432e6e..72888091950 100644 --- a/lib/Transforms/Scalar/InstructionCombining.cpp +++ b/lib/Transforms/Scalar/InstructionCombining.cpp @@ -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; -- 2.34.1