diff options
| author | Duncan Sands <baldrick@free.fr> | 2010-01-07 09:05:26 +0000 |
|---|---|---|
| committer | Duncan Sands <baldrick@free.fr> | 2010-01-07 09:05:26 +0000 |
| commit | 1949de7b817805fedd0c701b34539622cf3129a3 (patch) | |
| tree | 3082c43806ae49aafebc8eb4ae46637ab0d82e91 /llvm | |
| parent | f117880ab090b68cc1beaa1bf0778c1cb6764a66 (diff) | |
| download | bcm5719-llvm-1949de7b817805fedd0c701b34539622cf3129a3.tar.gz bcm5719-llvm-1949de7b817805fedd0c701b34539622cf3129a3.zip | |
Correct spelling.
llvm-svn: 92910
Diffstat (limited to 'llvm')
| -rw-r--r-- | llvm/include/llvm/Support/MathExtras.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/include/llvm/Support/MathExtras.h b/llvm/include/llvm/Support/MathExtras.h index 438b021e46b..fa12416aeac 100644 --- a/llvm/include/llvm/Support/MathExtras.h +++ b/llvm/include/llvm/Support/MathExtras.h @@ -160,7 +160,7 @@ inline unsigned CountLeadingZeros_32(uint32_t Value) { #else if (!Value) return 32; Count = 0; - // bisecton method for count leading zeros + // bisection method for count leading zeros for (unsigned Shift = 32 >> 1; Shift; Shift >>= 1) { uint32_t Tmp = Value >> Shift; if (Tmp) { @@ -197,7 +197,7 @@ inline unsigned CountLeadingZeros_64(uint64_t Value) { if (sizeof(long) == sizeof(int64_t)) { if (!Value) return 64; Count = 0; - // bisecton method for count leading zeros + // bisection method for count leading zeros for (unsigned Shift = 64 >> 1; Shift; Shift >>= 1) { uint64_t Tmp = Value >> Shift; if (Tmp) { |

