MIR Serialization: Serialize the virtual register definitions.
authorAlex Lorenz <arphaman@gmail.com>
Thu, 9 Jul 2015 22:23:13 +0000 (22:23 +0000)
committerAlex Lorenz <arphaman@gmail.com>
Thu, 9 Jul 2015 22:23:13 +0000 (22:23 +0000)
commitad6702ec236f1d2a512df8173599f4acd8603f17
tree3ca72894bb835cccf66e4013308bc00e6b1838bc
parent81e7e2dfab488cac1c164dde1b92ccdb72a6c9bd
MIR Serialization: Serialize the virtual register definitions.

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.

Reviewers: Duncan P. N. Exon Smith

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@241868 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/MIRYamlMapping.h
lib/CodeGen/MIRParser/MIRParser.cpp
lib/CodeGen/MIRPrinter.cpp
test/CodeGen/MIR/X86/undefined-register-class.mir [new file with mode: 0644]
test/CodeGen/MIR/X86/virtual-registers.mir [new file with mode: 0644]