summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/APInt.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2017-04-24 17:00:22 +0000
committerCraig Topper <craig.topper@gmail.com>2017-04-24 17:00:22 +0000
commitc6b05684c68c513a179e706e63e7fe4a66338b10 (patch)
tree8ba91380b17c994f69b08482ddc57188b7699655 /llvm/lib/Support/APInt.cpp
parentef449787d8ca2ae1039944ffc81d99397e0ad7f3 (diff)
downloadbcm5719-llvm-c6b05684c68c513a179e706e63e7fe4a66338b10.tar.gz
bcm5719-llvm-c6b05684c68c513a179e706e63e7fe4a66338b10.zip
[APInt] Fix repeated word in comments. NFC
llvm-svn: 301192
Diffstat (limited to 'llvm/lib/Support/APInt.cpp')
-rw-r--r--llvm/lib/Support/APInt.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Support/APInt.cpp b/llvm/lib/Support/APInt.cpp
index e056f8ba853..8513214d05a 100644
--- a/llvm/lib/Support/APInt.cpp
+++ b/llvm/lib/Support/APInt.cpp
@@ -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;
OpenPOWER on IntegriCloud