diff options
author | Tim Renouf <tim.renouf@amd.com> | 2017-09-29 09:51:22 +0000 |
---|---|---|
committer | Tim Renouf <tim.renouf@amd.com> | 2017-09-29 09:51:22 +0000 |
commit | ef1ae8ffacc8b04b1a1a8423af051decc4440145 (patch) | |
tree | cbc162a1504ea371b2c86985a4c5e6bb2db2f6e7 /llvm/lib/IR/AsmWriter.cpp | |
parent | 132291589f9d754cc32c5c2da60da5da61849470 (diff) | |
download | bcm5719-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/IR/AsmWriter.cpp')
-rw-r--r-- | llvm/lib/IR/AsmWriter.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/IR/AsmWriter.cpp b/llvm/lib/IR/AsmWriter.cpp index f351aa1d615..f6ed6a2116b 100644 --- a/llvm/lib/IR/AsmWriter.cpp +++ b/llvm/lib/IR/AsmWriter.cpp @@ -373,7 +373,9 @@ static void PrintCallingConv(unsigned cc, raw_ostream &Out) { case CallingConv::HHVM: Out << "hhvmcc"; break; case CallingConv::HHVM_C: Out << "hhvm_ccc"; break; case CallingConv::AMDGPU_VS: Out << "amdgpu_vs"; break; + case CallingConv::AMDGPU_LS: Out << "amdgpu_ls"; break; case CallingConv::AMDGPU_HS: Out << "amdgpu_hs"; break; + case CallingConv::AMDGPU_ES: Out << "amdgpu_es"; break; case CallingConv::AMDGPU_GS: Out << "amdgpu_gs"; break; case CallingConv::AMDGPU_PS: Out << "amdgpu_ps"; break; case CallingConv::AMDGPU_CS: Out << "amdgpu_cs"; break; |