diff --git a/docs/LangRef.html b/docs/LangRef.html index 73e7e2db1fa..6206d774a07 100644 --- a/docs/LangRef.html +++ b/docs/LangRef.html @@ -143,6 +143,8 @@
+ declare <float or double> %llvm.sqrt(<float or double> Val) ++ +
+The 'llvm.sqrt' intrinsic returns the sqrt of the specified operand, +returning the same value as the libm 'sqrt' function would. Unlike +sqrt in libm, however, llvm.sqrt has undefined behavior for +negative numbers (which allows for better optimization). +
+ ++The argument and return value are floating point numbers of the same type. +
+ ++This function returns the sqrt of the specified operand if it is a positive +floating point number. +
+