[PATCH] D141062: LangRef: Clarify behavior of llvm.is.fpclass with "denormal-fp-math"

Joshua Cranmer via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 13 13:39:33 PST 2023


jcranmer-intel added inline comments.


================
Comment at: llvm/docs/LangRef.rst:24885-24886
 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
----------------
"The function does not read canonicalized values" is a phrase which took me a few tries to understand what was meant. Maybe something like "The function does not canonicalize its input value" would make more sense?


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D141062/new/

https://reviews.llvm.org/D141062



More information about the llvm-commits mailing list