diff options
Diffstat (limited to 'llvm/docs')
-rw-r--r-- | llvm/docs/LangRef.rst | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/llvm/docs/LangRef.rst b/llvm/docs/LangRef.rst index b6979e5fc2e..a169589117c 100644 --- a/llvm/docs/LangRef.rst +++ b/llvm/docs/LangRef.rst @@ -5381,7 +5381,7 @@ suggests an unroll factor to the loop unroller: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ This metadata disables all optional loop transformations unless -explicitly instructed using other transformation metdata such as +explicitly instructed using other transformation metadata such as ``llvm.loop.unroll.enable``. That is, no heuristic will try to determine whether a transformation is profitable. The purpose is to avoid that the loop is transformed to a different loop before an explicitly requested @@ -5720,10 +5720,24 @@ the non-distributed fallback version will have. See '``llvm.loop.distribute.followup_all``' Metadata ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -Thes attributes in this metdata is added to all followup loops of the +The attributes in this metadata is added to all followup loops of the loop distribution pass. See :ref:`Transformation Metadata <transformation-metadata>` for details. +'``llvm.licm.disable``' Metadata +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +This metadata indicates that loop-invariant code motion (LICM) should not be +performed on this loop. The metadata has a single operand which is the string +``llvm.licm.disable``. For example: + +.. code-block:: llvm + + !0 = !{!"llvm.licm.disable"} + +Note that although it operates per loop it isn't given the llvm.loop prefix +as it is not affected by the ``llvm.loop.disable_nonforced`` metadata. + '``llvm.access.group``' Metadata ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |