From 8bb4326c04eebf68774cc07c32c0b93604be3597 Mon Sep 17 00:00:00 2001 From: Eli Friedman Date: Tue, 17 Jul 2018 20:28:31 +0000 Subject: [PATCH] [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 --- llvm/docs/LangRef.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/docs/LangRef.rst b/llvm/docs/LangRef.rst index 9c10bbb..1f4641c 100644 --- a/llvm/docs/LangRef.rst +++ b/llvm/docs/LangRef.rst @@ -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: """""""" -- 2.7.4