[PATCH] D141062: LangRef: Clarify behavior of llvm.is.fpclass with "denormal-fp-math"
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Jan 15 06:18:31 PST 2023
arsenm updated this revision to Diff 489353.
arsenm marked an inline comment as done.
arsenm added a comment.
Rephrase
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D141062/new/
https://reviews.llvm.org/D141062
Files:
llvm/docs/LangRef.rst
Index: llvm/docs/LangRef.rst
===================================================================
--- llvm/docs/LangRef.rst
+++ llvm/docs/LangRef.rst
@@ -24952,7 +24952,12 @@
bit mask where each bit specifies floating-point class to test. For example, the
value 0x108 makes test for normal value, - bits 3 and 8 in it are set, which
means that the function returns ``true`` if ``op`` is a positive or negative
-normal value. The function never raises floating-point exceptions.
+normal value. The function never raises floating-point exceptions. The
+function does not canonicalize its input value and does not depend
+on the floating-point environment. If the floating-point environment
+has a zeroing treatment of subnormal input values (such as indicated
+by the ``"denormal-fp-math"`` attribute), a subnormal value will be
+observed (will not be implicitly treated as zero).
General Intrinsics
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D141062.489353.patch
Type: text/x-patch
Size: 905 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230115/73e95d21/attachment.bin>
More information about the llvm-commits
mailing list