remove extra breaks; NFC

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@221374 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Sanjay Patel 2014-11-05 18:00:07 +00:00
parent ee6433511d
commit 4a6537c0a9

View File

@ -1005,7 +1005,6 @@ void computeKnownBits(Value *V, APInt &KnownZero, APInt &KnownOne,
KnownZero <<= ShiftAmt; KnownZero <<= ShiftAmt;
KnownOne <<= ShiftAmt; KnownOne <<= ShiftAmt;
KnownZero |= APInt::getLowBitsSet(BitWidth, ShiftAmt); // low bits known 0 KnownZero |= APInt::getLowBitsSet(BitWidth, ShiftAmt); // low bits known 0
break;
} }
break; break;
case Instruction::LShr: case Instruction::LShr:
@ -1020,7 +1019,6 @@ void computeKnownBits(Value *V, APInt &KnownZero, APInt &KnownOne,
KnownOne = APIntOps::lshr(KnownOne, ShiftAmt); KnownOne = APIntOps::lshr(KnownOne, ShiftAmt);
// high bits known zero. // high bits known zero.
KnownZero |= APInt::getHighBitsSet(BitWidth, ShiftAmt); KnownZero |= APInt::getHighBitsSet(BitWidth, ShiftAmt);
break;
} }
break; break;
case Instruction::AShr: case Instruction::AShr:
@ -1039,7 +1037,6 @@ void computeKnownBits(Value *V, APInt &KnownZero, APInt &KnownOne,
KnownZero |= HighBits; KnownZero |= HighBits;
else if (KnownOne[BitWidth-ShiftAmt-1]) // New bits are known one. else if (KnownOne[BitWidth-ShiftAmt-1]) // New bits are known one.
KnownOne |= HighBits; KnownOne |= HighBits;
break;
} }
break; break;
case Instruction::Sub: { case Instruction::Sub: {