Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 12 additions & 10 deletions llvm/docs/LangRef.rst
Original file line number Diff line number Diff line change
Expand Up @@ -28302,9 +28302,9 @@ Overview:

The '``llvm.experimental.constrained.lrint``' intrinsic returns the first
argument rounded to the nearest integer. An inexact floating-point exception
will be raised if the argument is not an integer. An invalid exception is
raised if the result is too large to fit into a supported integer type,
and in this case the result is undefined.
will be raised if the argument is not an integer. If the rounded value is too
large to fit into the result type, an invalid exception is raised, and the
return value is a non-deterministic value (equivalent to `freeze poison`).

Arguments:
""""""""""
Expand Down Expand Up @@ -28350,9 +28350,9 @@ Overview:

The '``llvm.experimental.constrained.llrint``' intrinsic returns the first
argument rounded to the nearest integer. An inexact floating-point exception
will be raised if the argument is not an integer. An invalid exception is
raised if the result is too large to fit into a supported integer type,
and in this case the result is undefined.
will be raised if the argument is not an integer. If the rounded value is too
large to fit into the result type, an invalid exception is raised, and the
return value is a non-deterministic value (equivalent to `freeze poison`).

Arguments:
""""""""""
Expand Down Expand Up @@ -28701,8 +28701,9 @@ Overview:
The '``llvm.experimental.constrained.lround``' intrinsic returns the first
argument rounded to the nearest integer with ties away from zero. It will
raise an inexact floating-point exception if the argument is not an integer.
An invalid exception is raised if the result is too large to fit into a
supported integer type, and in this case the result is undefined.
If the rounded value is too large to fit into the result type, an invalid
exception is raised, and the return value is a non-deterministic value
(equivalent to `freeze poison`).

Arguments:
""""""""""
Expand Down Expand Up @@ -28739,8 +28740,9 @@ Overview:
The '``llvm.experimental.constrained.llround``' intrinsic returns the first
argument rounded to the nearest integer with ties away from zero. It will
raise an inexact floating-point exception if the argument is not an integer.
An invalid exception is raised if the result is too large to fit into a
supported integer type, and in this case the result is undefined.
If the rounded value is too large to fit into the result type, an invalid
exception is raised, and the return value is a non-deterministic value
(equivalent to `freeze poison`).

Arguments:
""""""""""
Expand Down
Loading