Index: llvm/docs/LangRef.rst =================================================================== --- llvm/docs/LangRef.rst +++ llvm/docs/LangRef.rst @@ -15082,8 +15082,10 @@ Semantics: """""""""" -This function returns the same values as the libm ``lround`` -functions would, but without setting errno. +This function returns the same values as the libm ``lround`` functions +would, but without setting errno. If the rounded value is too large to +be stored in the result type, the return value is a non-deterministic +value (equivalent to `freeze poison`). '``llvm.llround.*``' Intrinsic ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -15118,7 +15120,9 @@ """""""""" This function returns the same values as the libm ``llround`` -functions would, but without setting errno. +functions would, but without setting errno. If the rounded value is +too large to be stored in the result type, the return value is a +non-deterministic value (equivalent to `freeze poison`). '``llvm.lrint.*``' Intrinsic ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -15159,8 +15163,10 @@ Semantics: """""""""" -This function returns the same values as the libm ``lrint`` -functions would, but without setting errno. +This function returns the same values as the libm ``lrint`` functions +would, but without setting errno. If the rounded value is too large to +be stored in the result type, the return value is a non-deterministic +value (equivalent to `freeze poison`). '``llvm.llrint.*``' Intrinsic ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -15194,8 +15200,10 @@ Semantics: """""""""" -This function returns the same values as the libm ``llrint`` -functions would, but without setting errno. +This function returns the same values as the libm ``llrint`` functions +would, but without setting errno. If the rounded value is too large to +be stored in the result type, the return value is a non-deterministic +value (equivalent to `freeze poison`). Bit Manipulation Intrinsics ---------------------------