MIR Serialization: Change syntax for the call entry pseudo source values.
authorAlex Lorenz <arphaman@gmail.com>
Thu, 20 Aug 2015 00:12:57 +0000 (00:12 +0000)
committerAlex Lorenz <arphaman@gmail.com>
Thu, 20 Aug 2015 00:12:57 +0000 (00:12 +0000)
commit77676424fd391c318bbc5ce53ec8f9feb425e88a
treef941fa6a80ee2d1c5ad53f01f7906ecb49a4f564
parent81a3a8ea7914ffc25c112189a10a967116e8c0d1
MIR Serialization: Change syntax for the call entry pseudo source values.

The global IR values in machine memory operands should use the global value
'@<name>' syntax instead of the current '%ir.<name>' syntax.

However, the global value call entry pseudo source values use the global value
syntax already. Therefore, the syntax for the call entry pseudo source values
has to be changed so that the global values and call entry global value PSVs
can be parsed without ambiguities.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@245526 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/Mips/expected-global-value-or-symbol-after-call-entry.mir [new file with mode: 0644]
test/CodeGen/MIR/Mips/memory-operands.mir