summaryrefslogtreecommitdiffstats
path: root/llvm/docs
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/docs')
-rw-r--r--llvm/docs/MIRLangRef.rst12
1 files changed, 9 insertions, 3 deletions
diff --git a/llvm/docs/MIRLangRef.rst b/llvm/docs/MIRLangRef.rst
index 407d6bc1c25..c2c14d9db7c 100644
--- a/llvm/docs/MIRLangRef.rst
+++ b/llvm/docs/MIRLangRef.rst
@@ -343,6 +343,8 @@ specified in brackets after the block's definition:
.. TODO: Describe the way the reference to an unnamed LLVM IR block can be
preserved.
+``Alignment`` is specified in bytes, and must be a power of two.
+
Machine Instructions
--------------------
@@ -614,9 +616,13 @@ following format is used:
alignment: <alignment>
isTargetSpecific: <target-specific>
-where ``<index>`` is a 32-bit unsigned integer, ``<value>`` is a `LLVM IR Constant
-<https://www.llvm.org/docs/LangRef.html#constants>`_, alignment is a 32-bit
-unsigned integer, and ``<target-specific>`` is either true or false.
+where:
+ - ``<index>`` is a 32-bit unsigned integer;
+ - ``<value>`` is a `LLVM IR Constant
+ <https://www.llvm.org/docs/LangRef.html#constants>`_;
+ - ``<alignment>`` is a 32-bit unsigned integer specified in bytes, and must be
+ power of two;
+ - ``<target-specific>`` is either true or false.
Example:
OpenPOWER on IntegriCloud