diff options
author | Nikolay Haustov <Nikolay.Haustov@amd.com> | 2016-05-06 09:07:29 +0000 |
---|---|---|
committer | Nikolay Haustov <Nikolay.Haustov@amd.com> | 2016-05-06 09:07:29 +0000 |
commit | 1f7732abfab990d56f3aa7ad4180a292fbf9d4fc (patch) | |
tree | e2e50e39e9b39c7f7f4b66b8a5c5423fcfc7848d /llvm/lib/AsmParser/LLToken.h | |
parent | a609e37ebd9911eed50235e52f241c4407678d69 (diff) | |
download | bcm5719-llvm-1f7732abfab990d56f3aa7ad4180a292fbf9d4fc.tar.gz bcm5719-llvm-1f7732abfab990d56f3aa7ad4180a292fbf9d4fc.zip |
AMDGPU/SI: Add amdgpu_kernel calling convention. Part 1.
Summary:
This will be used for AMDGPU_HSA_KERNEL symbol type in output ELF.
Also, in the future unused non-kernels may be optimized.
For now, also accept SPIR_KERNEL for HCC frontend.
Also, add bitcode compatibility tests for missing calling conventions
except AVR_BUILTIN which doesn't have parse code.
Reviewers: tstellarAMD, arsenm
Subscribers: arsenm, joker.eph, llvm-commits
llvm-svn: 268717
Diffstat (limited to 'llvm/lib/AsmParser/LLToken.h')
-rw-r--r-- | llvm/lib/AsmParser/LLToken.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/AsmParser/LLToken.h b/llvm/lib/AsmParser/LLToken.h index 5d0e98dd623..d755e694cde 100644 --- a/llvm/lib/AsmParser/LLToken.h +++ b/llvm/lib/AsmParser/LLToken.h @@ -111,6 +111,7 @@ namespace lltok { kw_amdgpu_gs, kw_amdgpu_ps, kw_amdgpu_cs, + kw_amdgpu_kernel, // Attributes: kw_attributes, |