[PATCH] D125970: [amdgpu] Add amdgpu_kernel calling conv attribute to clang
Aaron Ballman via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri May 20 06:49:21 PDT 2022
aaron.ballman added a comment.
> The primary application is for more rapid debugging of the amdgpu backend by permuting a C or C++ test file instead of manually updating an IR file.
Given that this is adding a calling convention, which has significant impacts on our type system: is this use case important enough to steal a bit for this CC? This sounds *super* special case to me, but maybe it's a common need?
================
Comment at: clang/include/clang/Basic/Attr.td:1862
+ let Spellings = [Clang<"amdgpu_kernel">];
+ let Documentation = [Undocumented];
+}
----------------
No new undocumented attributes.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D125970/new/
https://reviews.llvm.org/D125970
More information about the cfe-commits
mailing list