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)
commit5672a893e536a3865d9592cc2f21e8e608af52ac
treec6b3381164634e332c8c0ddd43c4bd89e33fc859
parent2b34fd932069e068ea55494706b8b2012f3270d0
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.

llvm-svn: 244157
llvm/lib/CodeGen/MIRParser/MILexer.cpp
llvm/lib/CodeGen/MIRParser/MILexer.h
llvm/lib/CodeGen/MIRParser/MIParser.cpp
llvm/lib/CodeGen/MIRPrinter.cpp
llvm/test/CodeGen/MIR/AMDGPU/target-index-operands.mir
llvm/test/CodeGen/MIR/X86/block-address-operands.mir
llvm/test/CodeGen/MIR/X86/constant-pool.mir
llvm/test/CodeGen/MIR/X86/expected-integer-after-offset-sign.mir [new file with mode: 0644]
llvm/test/CodeGen/MIR/X86/external-symbol-operands.mir
llvm/test/CodeGen/MIR/X86/global-value-operands.mir
llvm/test/CodeGen/MIR/X86/large-offset-number-error.mir [new file with mode: 0644]