This is an archive of the discontinued LLVM Phabricator instance.

MIR Serialization: Serialize MBB Successors.
ClosedPublic

Authored by arphaman on Jun 24 2015, 11:02 AM.

Details

Summary

This patch serializes the machine basic block successors. It uses a YAML flow sequence that contains
strings that have the MBB references. The MBB reference strings use the same syntax as MBB machine
operands in the machine instruction strings.

Example:

body:
  - id:          0
    name:    entry
    successors:  [ '%bb.1.less', '%bb.2.exit' ]
  - id:          1
    name:    less
  - id:          2
    name:    exit

Diff Detail

Repository
rL LLVM

Event Timeline

arphaman updated this revision to Diff 28369.Jun 24 2015, 11:02 AM
arphaman retitled this revision from to MIR Serialization: Serialize MBB Successors..
arphaman updated this object.
arphaman edited the test plan for this revision. (Show Details)
arphaman added reviewers: dexonsmith, bob.wilson, bogner.
arphaman set the repository for this revision to rL LLVM.
arphaman added a subscriber: Unknown Object (MLST).
arphaman updated this revision to Diff 28684.Jun 29 2015, 10:20 AM
arphaman updated this object.

I rebased this patch on top of trunk.

arphaman updated this revision to Diff 28690.Jun 29 2015, 11:30 AM

Cleanup this patch taking Duncan's comments into account.

This revision was automatically updated to reflect the committed changes.