[clang] [llvm] [AMDGPU] Add per-kernel kernarg preload count (PR #211059)

Yaxun Liu via cfe-commits cfe-commits at lists.llvm.org
Wed Jul 22 20:01:16 PDT 2026


================
@@ -2525,6 +2525,13 @@ def AMDGPUNumVGPR : InheritableAttr {
   let Subjects = SubjectList<[Function], ErrorDiag, "kernel functions">;
 }
 
+def AMDGPUKernargPreloadCount : InheritableAttr {
+  let Spellings = [Clang<"amdgpu_kernarg_preload_count", 0>];
----------------
yxsamliu wrote:

Opened #211451 to track this cleanup.

https://github.com/llvm/llvm-project/pull/211059


More information about the cfe-commits mailing list