[PATCH] MIR Serialization: Serialize the jump table info and the jump table index operands.

Alex L arphaman at gmail.com
Mon Jul 13 15:34:11 PDT 2015


Hi,

The 2 patches below serialize the machine jump table information and the
jump table index operands.

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:

jumpTable:
  kind:          label-difference32
  entries:
    - id:        0
      blocks:    [ '%bb.3.lbl1', '%bb.4.lbl2', '%bb.5.lbl3', '%bb.6.lbl4' ]


The jump table index operands are serialized using the following syntax:


  %jump-table.<id>


Cheers,

Alex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150713/58ae7b5b/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-MIR-Serialization-Serialize-the-Jump-Table-Info.patch
Type: application/octet-stream
Size: 11784 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150713/58ae7b5b/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-MIR-Serialization-Serialize-jump-table-index-operand.patch
Type: application/octet-stream
Size: 12868 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150713/58ae7b5b/attachment-0001.obj>


More information about the llvm-commits mailing list