[llvm-commits] [llvm] r92910 - /llvm/trunk/include/llvm/Support/MathExtras.h

Duncan Sands baldrick at free.fr
Thu Jan 7 01:05:29 PST 2010


Author: baldrick
Date: Thu Jan  7 03:05:26 2010
New Revision: 92910

URL: http://llvm.org/viewvc/llvm-project?rev=92910&view=rev
Log:
Correct spelling.

Modified:
    llvm/trunk/include/llvm/Support/MathExtras.h

Modified: llvm/trunk/include/llvm/Support/MathExtras.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Support/MathExtras.h?rev=92910&r1=92909&r2=92910&view=diff

==============================================================================
--- llvm/trunk/include/llvm/Support/MathExtras.h (original)
+++ llvm/trunk/include/llvm/Support/MathExtras.h Thu Jan  7 03:05:26 2010
@@ -160,7 +160,7 @@
 #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 @@
   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) {





More information about the llvm-commits mailing list