Delete dead code.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35525 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Zhou Sheng 2007-03-31 02:50:26 +00:00
parent b9cb95f8e3
commit 1c5d163634

View File

@ -4777,7 +4777,6 @@ Instruction *InstCombiner::visitICmpInst(ICmpInst &I) {
// of the bits shifted in could be tested after the mask.
uint32_t TyBits = Ty->getPrimitiveSizeInBits();
int ShAmtVal = TyBits - ShAmt->getLimitedValue(TyBits);
if (ShAmtVal < 0) ShAmtVal = 0; // Out of range shift.
uint32_t BitWidth = AndTy->getPrimitiveSizeInBits();
if ((APInt::getHighBitsSet(BitWidth, BitWidth-ShAmtVal) &