From: Jay Foad Date: Fri, 18 Oct 2019 16:07:09 +0000 (+0000) Subject: Update docs for fast-math flags. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=66b019de1013a135cbfe3da77c3bbd1deeac0994;p=llvm Update docs for fast-math flags. This adds fneg, phi and select to the list of operations that may use fast-math flags. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@375250 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/docs/LangRef.rst b/docs/LangRef.rst index d2fe2acc7d5..c3f401126e1 100644 --- a/docs/LangRef.rst +++ b/docs/LangRef.rst @@ -2459,9 +2459,10 @@ Code that requires different behavior than this should use the Fast-Math Flags --------------- -LLVM IR floating-point operations (:ref:`fadd `, +LLVM IR floating-point operations (:ref:`fneg `, :ref:`fadd `, :ref:`fsub `, :ref:`fmul `, :ref:`fdiv `, -:ref:`frem `, :ref:`fcmp `) and :ref:`call ` +:ref:`frem `, :ref:`fcmp `), :ref:`phi `, +:ref:`select ` and :ref:`call ` may use the following flags to enable otherwise unsafe floating-point transformations.