MIR Serialization: Serialize MachineFrameInfo's callee saved information.
authorAlex Lorenz <arphaman@gmail.com>
Fri, 24 Jul 2015 22:22:50 +0000 (22:22 +0000)
committerAlex Lorenz <arphaman@gmail.com>
Fri, 24 Jul 2015 22:22:50 +0000 (22:22 +0000)
commit3a8b87d9ce0356bb565a26b39838c9e1a7292a1c
tree890f41e305f50bac6bb59b715089ec3846df501b
parent5136ca2c6d8e6b9d1a00cc0d1327903b04564046
MIR Serialization: Serialize MachineFrameInfo's callee saved information.

This commit serializes the callee saved information from the class
'MachineFrameInfo'. This commit extends the YAML mappings for the fixed and
the ordinary stack objects and adds an optional 'callee-saved-register'
attribute. This attribute is used to serialize the callee save information.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@243173 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/MIRYamlMapping.h
lib/CodeGen/MIRParser/MIRParser.cpp
lib/CodeGen/MIRPrinter.cpp
test/CodeGen/MIR/X86/callee-saved-info.mir [new file with mode: 0644]
test/CodeGen/MIR/X86/expected-named-register-in-callee-saved-register.mir [new file with mode: 0644]