summaryrefslogtreecommitdiffstats
path: root/llvm/lib/AsmParser/LLLexer.cpp
diff options
context:
space:
mode:
authorTim Renouf <tim.renouf@amd.com>2017-09-29 09:51:22 +0000
committerTim Renouf <tim.renouf@amd.com>2017-09-29 09:51:22 +0000
commitef1ae8ffacc8b04b1a1a8423af051decc4440145 (patch)
treecbc162a1504ea371b2c86985a4c5e6bb2db2f6e7 /llvm/lib/AsmParser/LLLexer.cpp
parent132291589f9d754cc32c5c2da60da5da61849470 (diff)
downloadbcm5719-llvm-ef1ae8ffacc8b04b1a1a8423af051decc4440145.tar.gz
bcm5719-llvm-ef1ae8ffacc8b04b1a1a8423af051decc4440145.zip
[AMDGPU] calling conventions for AMDPAL OS type
Summary: This commit adds comments on how the AMDPAL OS type overloads the existing AMDGPU_ calling conventions used by Mesa, and adds a couple of new ones. Reviewers: arsenm, nhaehnle, dstuttard Subscribers: mehdi_amini, kzhuravl, wdng, yaxunl, t-tye, llvm-commits Differential Revision: https://reviews.llvm.org/D37752 llvm-svn: 314502
Diffstat (limited to 'llvm/lib/AsmParser/LLLexer.cpp')
-rw-r--r--llvm/lib/AsmParser/LLLexer.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/AsmParser/LLLexer.cpp b/llvm/lib/AsmParser/LLLexer.cpp
index 5ce55f52276..52c02cc162e 100644
--- a/llvm/lib/AsmParser/LLLexer.cpp
+++ b/llvm/lib/AsmParser/LLLexer.cpp
@@ -601,7 +601,9 @@ lltok::Kind LLLexer::LexIdentifier() {
KEYWORD(hhvm_ccc);
KEYWORD(cxx_fast_tlscc);
KEYWORD(amdgpu_vs);
+ KEYWORD(amdgpu_ls);
KEYWORD(amdgpu_hs);
+ KEYWORD(amdgpu_es);
KEYWORD(amdgpu_gs);
KEYWORD(amdgpu_ps);
KEYWORD(amdgpu_cs);
OpenPOWER on IntegriCloud