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

Eli Friedman via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 17 13:28:32 PDT 2018


Author: efriedma
Date: Tue Jul 17 13:28:31 2018
New Revision: 337322

URL: http://llvm.org/viewvc/llvm-project?rev=337322&view=rev
Log:
[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.


Modified:
    llvm/trunk/docs/LangRef.rst

Modified: llvm/trunk/docs/LangRef.rst
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/LangRef.rst?rev=337322&r1=337321&r2=337322&view=diff
==============================================================================
--- llvm/trunk/docs/LangRef.rst (original)
+++ llvm/trunk/docs/LangRef.rst Tue Jul 17 13:28:31 2018
@@ -9294,7 +9294,7 @@ otherwise unsafe floating-point optimiza
 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:
 """"""""




More information about the llvm-commits mailing list