Skip to content

Commit aa3806b

Browse files
committed
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
1 parent eff2a2a commit aa3806b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

llvm/docs/LangRef.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2459,9 +2459,10 @@ Code that requires different behavior than this should use the
24592459
Fast-Math Flags
24602460
---------------
24612461

2462-
LLVM IR floating-point operations (:ref:`fadd <i_fadd>`,
2462+
LLVM IR floating-point operations (:ref:`fneg <i_fneg>`, :ref:`fadd <i_fadd>`,
24632463
:ref:`fsub <i_fsub>`, :ref:`fmul <i_fmul>`, :ref:`fdiv <i_fdiv>`,
2464-
:ref:`frem <i_frem>`, :ref:`fcmp <i_fcmp>`) and :ref:`call <i_call>`
2464+
:ref:`frem <i_frem>`, :ref:`fcmp <i_fcmp>`), :ref:`phi <i_phi>`,
2465+
:ref:`select <i_select>` and :ref:`call <i_call>`
24652466
may use the following flags to enable otherwise unsafe
24662467
floating-point transformations.
24672468

0 commit comments

Comments
 (0)