MIR Parser: Allow the dollar characters in all of the identifier tokens.
authorAlex Lorenz <arphaman@gmail.com>
Fri, 17 Jul 2015 22:48:04 +0000 (22:48 +0000)
committerAlex Lorenz <arphaman@gmail.com>
Fri, 17 Jul 2015 22:48:04 +0000 (22:48 +0000)
commit310bd3c747d30b84edeb2d465ff1182e04b62976
tree564b647ab9f817b2b987a58db747743f01e66fa1
parent4b50ecbf6a5a9cec8fe11256a7853ff168150328
MIR Parser: Allow the dollar characters in all of the identifier tokens.

This commit modifies the machine instruction lexer so that it now accepts the
'$' characters in identifier tokens.

This change makes the syntax for unquoted global value tokens consistent with
the syntax for the global idenfitier tokens in the LLVM's assembly language.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@242584 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/MIRParser/MILexer.cpp
test/CodeGen/MIR/X86/global-value-operands.mir