Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions llvm/docs/LangRef.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7517,12 +7517,12 @@ sections that the user does not want removed after linking.
'``unpredictable``' Metadata
^^^^^^^^^^^^^^^^^^^^^^^^^^^^

``unpredictable`` metadata may be attached to any branch or switch
instruction. It can be used to express the unpredictability of control
flow. Similar to the ``llvm.expect`` intrinsic, it may be used to alter
optimizations related to compare and branch instructions. The metadata
is treated as a boolean value; if it exists, it signals that the branch
or switch that it is attached to is completely unpredictable.
``unpredictable`` metadata may be attached to any branch, select, or switch
instruction. It can be used to express the unpredictability of control flow.
Similar to the ``llvm.expect`` intrinsic, it may be used to alter optimizations
related to compare and branch instructions. The metadata is treated as a
boolean value; if it exists, it signals that the branch, select, or switch that
it is attached to is completely unpredictable.

.. _md_dereferenceable:

Expand Down
Loading