MIR Serialization: Serialize the sub register indices.
authorAlex Lorenz <arphaman@gmail.com>
Mon, 13 Jul 2015 23:24:34 +0000 (23:24 +0000)
committerAlex Lorenz <arphaman@gmail.com>
Mon, 13 Jul 2015 23:24:34 +0000 (23:24 +0000)
commitc249168837657bf4c3028cb8d6626ffa4b6f1fd2
treead1c4d3d00faf13776bacfee028141bc942c1e03
parent195dc6923aebb75179cd2bdac0c3641b2ab20077
MIR Serialization: Serialize the sub register indices.

This commit serializes the sub register indices from the register machine
operands.

Reviewers: Duncan P. N. Exon Smith

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@242084 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/X86/expected-subregister-after-colon.mir [new file with mode: 0644]
test/CodeGen/MIR/X86/subregister-operands.mir [new file with mode: 0644]
test/CodeGen/MIR/X86/unknown-subregister-index.mir [new file with mode: 0644]