]> granicus.if.org Git - llvm/commitdiff
[APInt] Fix repeated word in comments. NFC
authorCraig Topper <craig.topper@gmail.com>
Mon, 24 Apr 2017 17:00:22 +0000 (17:00 +0000)
committerCraig Topper <craig.topper@gmail.com>
Mon, 24 Apr 2017 17:00:22 +0000 (17:00 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@301192 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Support/APInt.cpp

index e056f8ba853dd44ff2b76af610c8a83efecfda0b..8513214d05a05c695c2d34af0f9913569f7209ab 100644 (file)
@@ -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;