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)
commitd986612a1a9abad1f6464da05c2214cb801544b8
tree91f2b5aa1175fa556c5cd80701b678fa3cdfba5a
parent60d74b7101075b60689a7f0848f732d5bb8eff16
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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@240851 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/MIRParser/MILexer.cpp
lib/CodeGen/MIRParser/MILexer.h
lib/CodeGen/MIRParser/MIParser.cpp
lib/CodeGen/MIRParser/MIParser.h
lib/CodeGen/MIRParser/MIRParser.cpp
lib/CodeGen/MIRPrinter.cpp
test/CodeGen/MIR/X86/global-value-operands.mir [new file with mode: 0644]
test/CodeGen/MIR/X86/undefined-global-value.mir [new file with mode: 0644]
test/CodeGen/MIR/X86/undefined-named-global-value.mir [new file with mode: 0644]