[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
Thu Jan 5 07:37:19 PST 2023


arsenm updated this revision to Diff 486577.
arsenm added a comment.
Herald added a subscriber: jdoerfert.

Attach correct patch


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
@@ -24882,7 +24882,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 read canonicalized values, 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.486577.patch
Type: text/x-patch
Size: 903 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230105/98ec8759/attachment.bin>


More information about the llvm-commits mailing list