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)
commit260366437ceaf657350c83068adb4c50e1a123bb
treebe81ad42a67c2784045a5118f7c5725aad98dafe
parentad85d7a04218648a3ddc029f9200805c8b6e4960
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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@240145 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/MIRYamlMapping.h
lib/CodeGen/MIRParser/MIRParser.cpp
lib/CodeGen/MIRPrinter.cpp
test/CodeGen/MIR/basic-blocks.mir [new file with mode: 0644]