diff --git a/llvm/docs/LangRef.html b/llvm/docs/LangRef.html index 655738ccd68f..2fb27f6384a5 100644 --- a/llvm/docs/LangRef.html +++ b/llvm/docs/LangRef.html @@ -1396,12 +1396,12 @@ following is the syntax for constant expressions:

uitofp ( CST to TYPE )
Convert an unsigned integer constant to the corresponding floating point constant. TYPE must be floating point. CST must be of integer type. If the - value won't fit in the floating point type, precision may be lost.
+ value won't fit in the floating point type, the results are undefined.
sitofp ( CST to TYPE )
Convert a signed integer constant to the corresponding floating point constant. TYPE must be floating point. CST must be of integer type. If the - value won't fit in the floating point type, precision may be lost.
+ value won't fit in the floating point type, the results are undefined.
ptrtoint ( CST to TYPE )
Convert a pointer typed constant to the corresponding integer constant @@ -3069,7 +3069,7 @@ be a floating point type.

Semantics:

The 'uitofp' instruction interprets its operand as an unsigned integer quantity and converts it to the corresponding floating point value. If -the value cannot fit in the floating point value, precision may be lost.

+the value cannot fit in the floating point value, the results are undefined.

Example:
@@ -3102,7 +3102,7 @@ a floating point type.

Semantics:

The 'sitofp' instruction interprets its operand as a signed integer quantity and converts it to the corresponding floating point value. If -the value cannot fit in the floating point value, precision may be lost.

+the value cannot fit in the floating point value, the results are undefined.

Example: