Skip to content

Commit 29f5c14

Browse files
committed
also mention fpmath metadata, and add more links
1 parent 7d4deb8 commit 29f5c14

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

llvm/docs/LangRef.rst

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2405,6 +2405,8 @@ example:
24052405
function which has an ``ssp`` or ``sspstrong`` attribute, the calling
24062406
function's attribute will be upgraded to ``sspreq``.
24072407

2408+
.. _strictfp:
2409+
24082410
``strictfp``
24092411
This attribute indicates that the function was called from a scope that
24102412
requires strict floating-point semantics. LLVM will not attempt any
@@ -3686,11 +3688,12 @@ the standard.
36863688
:ref:`floating-point environment section <floatenv>` regarding flags and
36873689
exceptions.)
36883690

3689-
Various flags and attributes can alter the behavior of these operations and thus
3690-
make them not bit-identical across machines and optimization levels any more:
3691-
most notably, the :ref:`fast-math flags <fastmath>` as well as the ``strictfp``
3692-
and ``denormal-fp-math`` attributes. See their corresponding documentation for
3693-
details.
3691+
Various flags, attributes, and metadata can alter the behavior of these
3692+
operations and thus make them not bit-identical across machines and optimization
3693+
levels any more: most notably, the :ref:`fast-math flags <fastmath>` as well as
3694+
the :ref:`strictfp <strictfp>` and :ref:`denormal-fp-math <denormal_fp_math>`
3695+
attributes and :ref:`!fpmath metadata <fpmath-metadata>`. See their
3696+
corresponding documentation for details.
36943697

36953698
.. _fastmath:
36963699

@@ -6956,6 +6959,8 @@ For example,
69566959
%2 = load float, ptr %c, align 4, !alias.scope !6
69576960
store float %0, ptr %arrayidx.i, align 4, !noalias !7
69586961

6962+
.. _fpmath-metadata:
6963+
69596964
'``fpmath``' Metadata
69606965
^^^^^^^^^^^^^^^^^^^^^
69616966

0 commit comments

Comments
 (0)