Skip to content

Commit 2fdedf9

Browse files
author
Thomas Preud'homme
committed
[doc] Clarify constrained fcmps behavior
Reviewed By: uweigand Differential Revision: https://reviews.llvm.org/D101053
1 parent 2b15262 commit 2fdedf9

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

llvm/docs/LangRef.rst

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19285,7 +19285,11 @@ The quiet comparison operation performed by
1928519285
'``llvm.experimental.constrained.fcmp``' will only raise an exception
1928619286
if either operand is a SNAN. The signaling comparison operation
1928719287
performed by '``llvm.experimental.constrained.fcmps``' will raise an
19288-
exception if either operand is a NAN (QNAN or SNAN).
19288+
exception if either operand is a NAN (QNAN or SNAN). Such an exception
19289+
does not preclude a result being produced (e.g. exception might only
19290+
set a flag), therefore the distinction between ordered and unordered
19291+
comparisons is also relevant for the
19292+
'``llvm.experimental.constrained.fcmps``' intrinsic.
1928919293

1929019294
'``llvm.experimental.constrained.fmuladd``' Intrinsic
1929119295
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

0 commit comments

Comments
 (0)