MIR Parser: Add support for quoted named global value operands.
authorAlex Lorenz <arphaman@gmail.com>
Mon, 20 Jul 2015 20:31:01 +0000 (20:31 +0000)
committerAlex Lorenz <arphaman@gmail.com>
Mon, 20 Jul 2015 20:31:01 +0000 (20:31 +0000)
commit40fefe0084d266d3c6d03e98a3c8c16e76091932
treed739943c63aa22cecc33cacb96ce5be19e806e01
parent1c12cc02fd95b3049f2d2f751b1611b30e565529
MIR Parser: Add support for quoted named global value operands.

This commit extends the machine instruction lexer and implements support for
the quoted global value tokens. With this change the syntax for the global value
identifier tokens becomes identical to the syntax for the global identifier
tokens from the LLVM's assembly language.

Reviewers: Duncan P. N. Exon Smith

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@242702 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/MIRParser/MILexer.cpp
lib/CodeGen/MIRParser/MILexer.h
lib/CodeGen/MIRParser/MIParser.cpp
test/CodeGen/MIR/X86/global-value-operands.mir
test/CodeGen/MIR/X86/missing-closing-quote.mir [new file with mode: 0644]