[llvm-commits] [llvm] r72666 - /llvm/trunk/include/llvm/Support/MathExtras.h
Dan Gohman
gohman at apple.com
Sun May 31 09:18:03 PDT 2009
Author: djg
Date: Sun May 31 11:18:03 2009
New Revision: 72666
URL: http://llvm.org/viewvc/llvm-project?rev=72666&view=rev
Log:
Fix the name of the function in this comment.
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=72666&r1=72665&r2=72666&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Support/MathExtras.h (original)
+++ llvm/trunk/include/llvm/Support/MathExtras.h Sun May 31 11:18:03 2009
@@ -321,8 +321,8 @@
return 32-CountLeadingZeros_32(Value-1);
}
-/// Log2_64 - This function returns the ceil log base 2 of the specified value,
-/// 64 if the value is zero. (64 bit edition.)
+/// Log2_64_Ceil - This function returns the ceil log base 2 of the specified
+/// value, 64 if the value is zero. (64 bit edition.)
inline unsigned Log2_64_Ceil(uint64_t Value) {
return 64-CountLeadingZeros_64(Value-1);
}
More information about the llvm-commits
mailing list