MIR Serialization: Serialize global address machine operands.
authorAlex Lorenz <arphaman@gmail.com>
Fri, 26 Jun 2015 22:56:48 +0000 (22:56 +0000)
committerAlex Lorenz <arphaman@gmail.com>
Fri, 26 Jun 2015 22:56:48 +0000 (22:56 +0000)
commit5d6108e4ed5c80a52bb66d4cb870eb5d1477c572
tree94fa2a0ace9fb401526cac4b29c0cd26a6698757
parent8fe7f13af88e6cbd8a31f90373bd1e3db307926b
MIR Serialization: Serialize global address machine operands.

This commit serializes the global address machine operands.
This commit doesn't serialize the operand's offset and target
flags, it serializes only the global value reference.

Reviewers: Duncan P. N. Exon Smith

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

llvm-svn: 240851
llvm/lib/CodeGen/MIRParser/MILexer.cpp
llvm/lib/CodeGen/MIRParser/MILexer.h
llvm/lib/CodeGen/MIRParser/MIParser.cpp
llvm/lib/CodeGen/MIRParser/MIParser.h
llvm/lib/CodeGen/MIRParser/MIRParser.cpp
llvm/lib/CodeGen/MIRPrinter.cpp
llvm/test/CodeGen/MIR/X86/global-value-operands.mir [new file with mode: 0644]
llvm/test/CodeGen/MIR/X86/undefined-global-value.mir [new file with mode: 0644]
llvm/test/CodeGen/MIR/X86/undefined-named-global-value.mir [new file with mode: 0644]