<div dir="ltr">Hi,<div><br></div><div>The 2 patches below serialize the machine jump table information and the jump table index operands.</div><div><br></div><div>The jump table info is serialized using a YAML mapping that contains its kind and a YAML sequence of jump table entries. A jump table entry is a YAML mapping that has an ID and an inline YAML sequence of machine basic block references. Example:</div><div><br></div><div>
<pre style="margin-top:0px;margin-bottom:0px">jumpTable:
  kind:          label-difference32
  entries:
    - id:        0
      blocks:    [ '%bb.3.lbl1', '%bb.4.lbl2', '%bb.5.lbl3', '%bb.6.lbl4' ]<br></pre><pre style="margin-top:0px;margin-bottom:0px"></pre><pre style="margin-top:0px;margin-bottom:0px"><br></pre><pre style="margin-top:0px;margin-bottom:0px"><font face="arial, sans-serif"><span style="line-height:15px;white-space:normal">The jump table index operands are serialized using the following syntax:</span></font></pre><pre style="margin-top:0px;margin-bottom:0px"><font face="arial, sans-serif"><span style="line-height:15px;white-space:normal"><br></span></font></pre><pre style="margin-top:0px;margin-bottom:0px"><font face="arial, sans-serif"><span style="line-height:15px;white-space:normal">  %jump-table.<id></span></font></pre><pre style="margin-top:0px;margin-bottom:0px"><font face="arial, sans-serif"><span style="line-height:15px;white-space:normal"><br></span></font></pre><pre style="margin-top:0px;margin-bottom:0px"><font face="arial, sans-serif"><span style="line-height:15px;white-space:normal">Cheers,</span></font></pre><pre style="margin-top:0px;margin-bottom:0px"><font face="arial, sans-serif"><span style="line-height:15px;white-space:normal">Alex</span></font></pre></div></div>