Skip to content

Commit f1717a3

Browse files
committed
Fix formatting
Signed-off-by: John Lu <[email protected]>
1 parent 0b5ed29 commit f1717a3

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

llvm/lib/Analysis/ValueTracking.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -433,8 +433,9 @@ void llvm::computeKnownBitsFromRangeMetadata(const MDNode &Ranges,
433433
// The first CommonPrefixBits of all values in Range are equal.
434434
unsigned CommonPrefixBits =
435435
(Range.getUnsignedMax() ^ Range.getUnsignedMin()).countl_zero();
436-
// BitWidth must equal the Ranges BitWidth for the correct number of high bits to be set.
437-
assert(BitWidth == Lower->getBitWidth() );
436+
// BitWidth must equal the Ranges BitWidth for the correct number of high
437+
// bits to be set.
438+
assert(BitWidth == Lower->getBitWidth());
438439
APInt Mask = APInt::getHighBitsSet(BitWidth, CommonPrefixBits);
439440
APInt UnsignedMax = Range.getUnsignedMax().zextOrTrunc(BitWidth);
440441
Known.One &= UnsignedMax & Mask;

0 commit comments

Comments
 (0)