diff options
Diffstat (limited to 'llvm/docs/MIRLangRef.rst')
-rw-r--r-- | llvm/docs/MIRLangRef.rst | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/llvm/docs/MIRLangRef.rst b/llvm/docs/MIRLangRef.rst index b4ca8f2347a..fff0d3ef0eb 100644 --- a/llvm/docs/MIRLangRef.rst +++ b/llvm/docs/MIRLangRef.rst @@ -246,13 +246,25 @@ blocks are referenced using the following syntax: .. code-block:: text - %bb.<id>[.<name>] + %bb.<id> -Examples: +Example: .. code-block:: llvm %bb.0 + +The following syntax is also supported, but the former syntax is preferred for +block references: + +.. code-block:: text + + %bb.<id>[.<name>] + +Example: + +.. code-block:: llvm + %bb.1.then Successors |