[llvm] r299323 - [APInt] Fix typo in comment. NFC
Craig Topper via llvm-commits
llvm-commits at lists.llvm.org
Sat Apr 1 23:59:36 PDT 2017
Author: ctopper
Date: Sun Apr 2 01:59:36 2017
New Revision: 299323
URL: http://llvm.org/viewvc/llvm-project?rev=299323&view=rev
Log:
[APInt] Fix typo in comment. NFC
Modified:
llvm/trunk/lib/Support/APInt.cpp
Modified: llvm/trunk/lib/Support/APInt.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Support/APInt.cpp?rev=299323&r1=299322&r2=299323&view=diff
==============================================================================
--- llvm/trunk/lib/Support/APInt.cpp (original)
+++ llvm/trunk/lib/Support/APInt.cpp Sun Apr 2 01:59:36 2017
@@ -2290,7 +2290,7 @@ void APInt::toString(SmallVectorImpl<cha
// For the 2, 8 and 16 bit cases, we can just shift instead of divide
// because the number of bits per digit (1, 3 and 4 respectively) divides
- // equaly. We just shift until the value is zero.
+ // equally. We just shift until the value is zero.
if (Radix == 2 || Radix == 8 || Radix == 16) {
// Just shift tmp right for each digit width until it becomes zero
unsigned ShiftAmt = (Radix == 16 ? 4 : (Radix == 8 ? 3 : 1));
More information about the llvm-commits
mailing list