[llvm] r371615 - [LangRef] add link for fma intrinsic
Sanjay Patel via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 11 06:25:32 PDT 2019
Author: spatel
Date: Wed Sep 11 06:25:32 2019
New Revision: 371615
URL: http://llvm.org/viewvc/llvm-project?rev=371615&view=rev
Log:
[LangRef] add link for fma intrinsic
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=371615&r1=371614&r2=371615&view=diff
==============================================================================
--- llvm/trunk/docs/LangRef.rst (original)
+++ llvm/trunk/docs/LangRef.rst Wed Sep 11 06:25:32 2019
@@ -12073,6 +12073,8 @@ trapping or setting ``errno``.
When specified with the fast-math-flag 'afn', the result may be approximated
using a less accurate calculation.
+.. _int_fma:
+
'``llvm.fma.*``' Intrinsic
^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -13953,7 +13955,7 @@ is equivalent to the expression a \* b +
not be performed between the multiplication and addition steps if the
code generator fuses the operations. Fusion is not guaranteed, even if
the target platform supports it. If a fused multiply-add is required, the
-corresponding llvm.fma.\* intrinsic function should be used
+corresponding :ref:`llvm.fma <int_fma>` intrinsic function should be used
instead. This never sets errno, just as '``llvm.fma.*``'.
Examples:
More information about the llvm-commits
mailing list