MIR Serialization: Serialize the null register operands.
authorAlex Lorenz <arphaman@gmail.com>
Wed, 24 Jun 2015 17:34:58 +0000 (17:34 +0000)
committerAlex Lorenz <arphaman@gmail.com>
Wed, 24 Jun 2015 17:34:58 +0000 (17:34 +0000)
commitd89b55e3097078fb05edb0336178294d507ce2a8
treef16a249ab0efb93e230d0b82723c734c601ea849
parentbaf8f6a261004f35607bbe96c460f264c215b22b
MIR Serialization: Serialize the null register operands.

This commit serializes the null register machine operands.
It uses the '_' keyword to represent them, but the parser
also allows the '%noreg' named register syntax.

Reviewers: Duncan P. N. Exon Smith

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@240558 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/null-register-operands.mir [new file with mode: 0644]