1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-02-01 05:01:59 +01:00

[LangRef] Clarify which fast-math flags affect fcmp.

nsz has no effect due to the way fcmp is defined; +0 and -0 compare
equal anyway. reassoc could have the obvious effect.

llvm-svn: 337322
This commit is contained in:
Eli Friedman 2018-07-17 20:28:31 +00:00
parent 5f96ea6159
commit 0e00c7e30d

View File

@ -9294,7 +9294,7 @@ otherwise unsafe floating-point optimizations.
Any set of fast-math flags are legal on an ``fcmp`` instruction, but the
only flags that have any effect on its semantics are those that allow
assumptions to be made about the values of input arguments; namely
``nnan``, ``ninf``, and ``nsz``. See :ref:`fastmath` for more information.
``nnan``, ``ninf``, and ``reassoc``. See :ref:`fastmath` for more information.
Example:
""""""""