OSDN Git Service

MIR Serialization: Serialize the machine operand's offset.
authorAlex Lorenz <arphaman@gmail.com>
Wed, 5 Aug 2015 22:26:15 +0000 (22:26 +0000)
committerAlex Lorenz <arphaman@gmail.com>
Wed, 5 Aug 2015 22:26:15 +0000 (22:26 +0000)
commita41742659a7862cd60082b7419f511d06d1db37f
treedfc9aceea7e63a35261e883ae5aade44436939ff
parentf6c8c4ae1b95ea5702a580e1b46e7ea288d88dee
MIR Serialization: Serialize the machine operand's offset.

This commit serializes the offset for the following operands: target index,
global address, external symbol, constant pool index, and block address.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@244157 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/MIRParser/MILexer.cpp
lib/CodeGen/MIRParser/MILexer.h
lib/CodeGen/MIRParser/MIParser.cpp
lib/CodeGen/MIRPrinter.cpp
test/CodeGen/MIR/AMDGPU/target-index-operands.mir
test/CodeGen/MIR/X86/block-address-operands.mir
test/CodeGen/MIR/X86/constant-pool.mir
test/CodeGen/MIR/X86/expected-integer-after-offset-sign.mir [new file with mode: 0644]
test/CodeGen/MIR/X86/external-symbol-operands.mir
test/CodeGen/MIR/X86/global-value-operands.mir
test/CodeGen/MIR/X86/large-offset-number-error.mir [new file with mode: 0644]