diff options
author | Sanjay Patel <spatel@rotateright.com> | 2014-11-05 18:00:07 +0000 |
---|---|---|
committer | Sanjay Patel <spatel@rotateright.com> | 2014-11-05 18:00:07 +0000 |
commit | 8f093f4138e1ffafb7ee5344e012ba8dd952a055 (patch) | |
tree | 7ab78d9ef7edd631bcf5310d32d9e71a3d89d4c7 /llvm/lib | |
parent | 21efe02e5952e3f565afcefd0acf1ce7c4388f07 (diff) | |
download | bcm5719-llvm-8f093f4138e1ffafb7ee5344e012ba8dd952a055.tar.gz bcm5719-llvm-8f093f4138e1ffafb7ee5344e012ba8dd952a055.zip |
remove extra breaks; NFC
llvm-svn: 221374
Diffstat (limited to 'llvm/lib')
-rw-r--r-- | llvm/lib/Analysis/ValueTracking.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/llvm/lib/Analysis/ValueTracking.cpp b/llvm/lib/Analysis/ValueTracking.cpp index 0d93285a0d6..bce18f603bf 100644 --- a/llvm/lib/Analysis/ValueTracking.cpp +++ b/llvm/lib/Analysis/ValueTracking.cpp @@ -1005,7 +1005,6 @@ void computeKnownBits(Value *V, APInt &KnownZero, APInt &KnownOne, KnownZero <<= ShiftAmt; KnownOne <<= ShiftAmt; KnownZero |= APInt::getLowBitsSet(BitWidth, ShiftAmt); // low bits known 0 - break; } break; case Instruction::LShr: @@ -1015,12 +1014,11 @@ void computeKnownBits(Value *V, APInt &KnownZero, APInt &KnownOne, uint64_t ShiftAmt = SA->getLimitedValue(BitWidth); // Unsigned shift right. - computeKnownBits(I->getOperand(0), KnownZero,KnownOne, TD, Depth+1, Q); + computeKnownBits(I->getOperand(0), KnownZero, KnownOne, TD, Depth+1, Q); KnownZero = APIntOps::lshr(KnownZero, ShiftAmt); KnownOne = APIntOps::lshr(KnownOne, ShiftAmt); // high bits known zero. KnownZero |= APInt::getHighBitsSet(BitWidth, ShiftAmt); - break; } break; case Instruction::AShr: @@ -1039,7 +1037,6 @@ void computeKnownBits(Value *V, APInt &KnownZero, APInt &KnownOne, KnownZero |= HighBits; else if (KnownOne[BitWidth-ShiftAmt-1]) // New bits are known one. KnownOne |= HighBits; - break; } break; case Instruction::Sub: { |