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)
commit12b554e6a7857795a8b0a701d17fed1a2863ebd9
tree59ec0bad48e12a49396ed117d49a0c6b733482a7
parent79ff564ef356de75e4d430a88c30cddc286c6e02
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

llvm-svn: 240558
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/X86/null-register-operands.mir [new file with mode: 0644]