This is an archive of the discontinued LLVM Phabricator instance.

MIR Serialization: serialize the virtual register definitions.
ClosedPublic

Authored by arphaman on Jul 6 2015, 7:35 PM.

Details

Summary

This patch serializes the definitions of the virtual registers.

The virtual registers are serialized using a YAML sequence of YAML inline mappings. Each mapping has the id of the virtual register and the register class. Example:

registers:
   - { id: 0, class: gr32 }
   - { id: 1, class: gr32 }

The virtual register references will be serialized in the upcoming patch. They will use the ids specified in the definitions and will have the following syntax:

%<id>

Diff Detail

Repository
rL LLVM

Event Timeline

arphaman updated this revision to Diff 29144.Jul 6 2015, 7:35 PM
arphaman retitled this revision from to MIR Serialization: serialize the virtual register definitions..
arphaman updated this object.
arphaman added reviewers: dexonsmith, bob.wilson, bogner.
arphaman set the repository for this revision to rL LLVM.
arphaman added a subscriber: llvm-commits.
arphaman updated this revision to Diff 29375.Jul 9 2015, 12:59 PM

I've rebased this patch on ToT.

This revision was automatically updated to reflect the committed changes.