[docs] Minor fixes to the operand bundle section

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@253771 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Sanjoy Das 2015-11-21 09:12:07 +00:00
parent 0358673908
commit 0977d4d4df

View File

@ -1457,7 +1457,7 @@ incorrect and will change program semantics.
Syntax:: Syntax::
operand bundle set ::= '[' operand bundle ']' operand bundle set ::= '[' operand bundle (, operand bundle )* ']'
operand bundle ::= tag '(' [ bundle operand ] (, bundle operand )* ')' operand bundle ::= tag '(' [ bundle operand ] (, bundle operand )* ')'
bundle operand ::= SSA value bundle operand ::= SSA value
tag ::= string constant tag ::= string constant
@ -1493,13 +1493,14 @@ More specific types of operand bundles are described below.
Deoptimization Operand Bundles Deoptimization Operand Bundles
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Deoptimization operand bundles are characterized by the ``"deopt`` Deoptimization operand bundles are characterized by the ``"deopt"``
operand bundle tag. These operand bundles represent an alternate operand bundle tag. These operand bundles represent an alternate
"safe" continuation for the call site they're attached to, and can be "safe" continuation for the call site they're attached to, and can be
used by a suitable runtime to deoptimize the compiled frame at the used by a suitable runtime to deoptimize the compiled frame at the
specified call site. Exact details of deoptimization is out of scope specified call site. There can be at most one ``"deopt"`` operand
for the language reference, but it usually involves rewriting a bundle attached to a call site. Exact details of deoptimization is
compiled frame into a set of interpreted frames. out of scope for the language reference, but it usually involves
rewriting a compiled frame into a set of interpreted frames.
From the compiler's perspective, deoptimization operand bundles make From the compiler's perspective, deoptimization operand bundles make
the call sites they're attached to at least ``readonly``. They read the call sites they're attached to at least ``readonly``. They read