[clang] [llvm] [AMDGPU] Adding the amdgpu-num-work-groups function attribute (PR #79035)

Jun Wang via cfe-commits cfe-commits at lists.llvm.org
Mon Feb 26 11:53:33 PST 2024


================
@@ -8069,6 +8069,67 @@ static void handleAMDGPUNumVGPRAttr(Sema &S, Decl *D, const ParsedAttr &AL) {
   D->addAttr(::new (S.Context) AMDGPUNumVGPRAttr(S.Context, AL, NumVGPR));
 }
 
+// Returns true if error
----------------
jwanggit86 wrote:

(1) Updated `ReleaseNotes.rst` (2) Added codegen testcases in `CodeGenCUDA/amdgpu-kernel-attrs.cu` (3) Removed the comment line as suggested.

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


More information about the cfe-commits mailing list