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 | ac1dd296bc0f8441d120262900c37cc997184bca (patch) | |
tree | e4878e6366997eb987930fc5d96493b7bffce293 /lib/AsmParser/LLToken.h | |
parent | d4ecd0d79c77817fc0f9681e63a95dc2b6bad434 (diff) |
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
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@268717 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AsmParser/LLToken.h')
-rw-r--r-- | lib/AsmParser/LLToken.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/AsmParser/LLToken.h b/lib/AsmParser/LLToken.h index 5d0e98dd623..d755e694cde 100644 --- a/lib/AsmParser/LLToken.h +++ b/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, |