mirror of
https://github.com/RPCSX/llvm.git
synced 2025-02-24 23:22:10 +00:00
[APInt] Fix repeated word in comments. NFC
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@301192 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
1c1f7ef631
commit
e115996cce
@ -2584,7 +2584,7 @@ void APInt::tcShiftLeft(WordType *Dst, unsigned Words, unsigned Count) {
|
||||
if (!Count)
|
||||
return;
|
||||
|
||||
/* WordShift is the inter-part shift; BitShift is is intra-part shift. */
|
||||
// WordShift is the inter-part shift; BitShift is the intra-part shift.
|
||||
unsigned WordShift = std::min(Count / APINT_BITS_PER_WORD, Words);
|
||||
unsigned BitShift = Count % APINT_BITS_PER_WORD;
|
||||
|
||||
@ -2611,7 +2611,7 @@ void APInt::tcShiftRight(WordType *Dst, unsigned Words, unsigned Count) {
|
||||
if (!Count)
|
||||
return;
|
||||
|
||||
// WordShift is the inter-part shift; BitShift is is intra-part shift.
|
||||
// WordShift is the inter-part shift; BitShift is the intra-part shift.
|
||||
unsigned WordShift = std::min(Count / APINT_BITS_PER_WORD, Words);
|
||||
unsigned BitShift = Count % APINT_BITS_PER_WORD;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user