summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJay Foad <jay.foad@gmail.com>2019-10-18 16:07:09 +0000
committerJay Foad <jay.foad@gmail.com>2019-10-18 16:07:09 +0000
commitaa3806b47c74c814c9cb6f1de6a5570998b8f011 (patch)
tree6e925f53b0df7dcd19b186de2022ce8b12d57542
parenteff2a2ab2b51070133c39336c91b3f8d1c31e0c4 (diff)
downloadbcm5719-llvm-aa3806b47c74c814c9cb6f1de6a5570998b8f011.tar.gz
bcm5719-llvm-aa3806b47c74c814c9cb6f1de6a5570998b8f011.zip
Update docs for fast-math flags.
This adds fneg, phi and select to the list of operations that may use fast-math flags. llvm-svn: 375250
-rw-r--r--llvm/docs/LangRef.rst5
1 files changed, 3 insertions, 2 deletions
diff --git a/llvm/docs/LangRef.rst b/llvm/docs/LangRef.rst
index d2fe2acc7d5..c3f401126e1 100644
--- a/llvm/docs/LangRef.rst
+++ b/llvm/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 <i_fadd>`,
+LLVM IR floating-point operations (:ref:`fneg <i_fneg>`, :ref:`fadd <i_fadd>`,
:ref:`fsub <i_fsub>`, :ref:`fmul <i_fmul>`, :ref:`fdiv <i_fdiv>`,
-:ref:`frem <i_frem>`, :ref:`fcmp <i_fcmp>`) and :ref:`call <i_call>`
+:ref:`frem <i_frem>`, :ref:`fcmp <i_fcmp>`), :ref:`phi <i_phi>`,
+:ref:`select <i_select>` and :ref:`call <i_call>`
may use the following flags to enable otherwise unsafe
floating-point transformations.
OpenPOWER on IntegriCloud