Skip to content

Commit 6c0181c

Browse files
committed
[InstCombine] fix typos in comments; NFC
1 parent 10d78a0 commit 6c0181c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/lib/Transforms/InstCombine/InstCombineShifts.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ dropRedundantMaskingOfLeftShiftInput(BinaryOperator *OuterShift,
240240
// that shall remain in the root value (OuterShift).
241241

242242
// An extend of an undef value becomes zero because the high bits are never
243-
// completely unknown. Replace the the `undef` shift amounts with final
243+
// completely unknown. Replace the `undef` shift amounts with final
244244
// shift bitwidth to ensure that the value remains undef when creating the
245245
// subsequent shift op.
246246
SumOfShAmts = Constant::replaceUndefsWith(
@@ -272,7 +272,7 @@ dropRedundantMaskingOfLeftShiftInput(BinaryOperator *OuterShift,
272272
// shall be unset in the root value (OuterShift).
273273

274274
// An extend of an undef value becomes zero because the high bits are never
275-
// completely unknown. Replace the the `undef` shift amounts with negated
275+
// completely unknown. Replace the `undef` shift amounts with negated
276276
// bitwidth of innermost shift to ensure that the value remains undef when
277277
// creating the subsequent shift op.
278278
unsigned WidestTyBitWidth = WidestTy->getScalarSizeInBits();

0 commit comments

Comments
 (0)