diff --git a/docs/LangRef.html b/docs/LangRef.html index 23911e2540f..24587349fd2 100644 --- a/docs/LangRef.html +++ b/docs/LangRef.html @@ -149,8 +149,8 @@
- declare int %llvm.cttz(int <src>) - -- -
-The 'llvm.cttz' intrinsic counts the number of trailing zeros. -
- --The only argument is the value to be counted. The argument may be of any -integer type. The return type must match the argument type. -
- --The 'llvm.cttz' intrinsic counts the trailing zeros in a variable. If -the src == 0 then the result is the size in bits of the type of src. -
--The 'llvm.ctlz' intrinsic counts the leading zeros in a variable. If -the src == 0 then the result is the size in bits of the type of src. +The 'llvm.ctlz' intrinsic counts the leading (most significant) zeros +in a variable. If the src == 0 then the result is the size in bits of the type +of src. For example, llvm.cttz(int 2) = 30.
+ declare int %llvm.cttz(int <src>) + ++ +
+The 'llvm.cttz' intrinsic counts the number of trailing zeros. +
+ ++The only argument is the value to be counted. The argument may be of any +integer type. The return type must match the argument type. +
+ ++The 'llvm.cttz' intrinsic counts the trailing (least significant) zeros +in a variable. If the src == 0 then the result is the size in bits of the type +of src. For example, llvm.cttz(2) = 1. +
+