summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/MIRParser/MILexer.cpp
diff options
context:
space:
mode:
authorAlex Lorenz <arphaman@gmail.com>2015-08-20 00:12:57 +0000
committerAlex Lorenz <arphaman@gmail.com>2015-08-20 00:12:57 +0000
commit0d009645a1023aef1ec139bab61f2ea1b406c8ad (patch)
tree88e38040b353cbc1a1a1232d7aebc75137570286 /llvm/lib/CodeGen/MIRParser/MILexer.cpp
parent7defcae5f753e08eb9fc4a6ebb7a3b34a279177d (diff)
downloadbcm5719-llvm-0d009645a1023aef1ec139bab61f2ea1b406c8ad.tar.gz
bcm5719-llvm-0d009645a1023aef1ec139bab61f2ea1b406c8ad.zip
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. llvm-svn: 245526
Diffstat (limited to 'llvm/lib/CodeGen/MIRParser/MILexer.cpp')
-rw-r--r--llvm/lib/CodeGen/MIRParser/MILexer.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/MIRParser/MILexer.cpp b/llvm/lib/CodeGen/MIRParser/MILexer.cpp
index 6094ca996bf..8346ff294e4 100644
--- a/llvm/lib/CodeGen/MIRParser/MILexer.cpp
+++ b/llvm/lib/CodeGen/MIRParser/MILexer.cpp
@@ -220,6 +220,7 @@ static MIToken::TokenKind getIdentifierKind(StringRef Identifier) {
.Case("got", MIToken::kw_got)
.Case("jump-table", MIToken::kw_jump_table)
.Case("constant-pool", MIToken::kw_constant_pool)
+ .Case("call-entry", MIToken::kw_call_entry)
.Case("liveout", MIToken::kw_liveout)
.Case("address-taken", MIToken::kw_address_taken)
.Case("landing-pad", MIToken::kw_landing_pad)
OpenPOWER on IntegriCloud