MIR Serialization: Serialize the list of machine basic blocks with simple attributes.
authorAlex Lorenz <arphaman@gmail.com>
Fri, 19 Jun 2015 17:43:07 +0000 (17:43 +0000)
committerAlex Lorenz <arphaman@gmail.com>
Fri, 19 Jun 2015 17:43:07 +0000 (17:43 +0000)
commit4f093bf1ce0c6b4c9cd4472fbaa0b2b0a942a38c
tree684ec16865e23a9fecaf0e197b6f69115ae8e5c2
parent4d8ffa082c19eeb6c07ec3f82b06604d66c18949
MIR Serialization: Serialize the list of machine basic blocks with simple attributes.

This commit implements the initial serialization of machine basic blocks in a
machine function. Only the simple, scalar MBB attributes are serialized. The
reference to LLVM IR's basic block is preserved when that basic block has a name.

Reviewers: Duncan P. N. Exon Smith

Differential Revision: http://reviews.llvm.org/D10465

llvm-svn: 240145
llvm/include/llvm/CodeGen/MIRYamlMapping.h
llvm/lib/CodeGen/MIRParser/MIRParser.cpp
llvm/lib/CodeGen/MIRPrinter.cpp
llvm/test/CodeGen/MIR/basic-blocks.mir [new file with mode: 0644]