[clang] [Clang][AMDGPU] Add ``amdgcn_av("none")`` attribute for atomic expressions (PR #199622)

Matt Arsenault via cfe-commits cfe-commits at lists.llvm.org
Fri Jul 17 07:50:41 PDT 2026


================
@@ -2532,6 +2532,12 @@ def AMDGPUMaxNumWorkGroups : InheritableAttr {
   let Subjects = SubjectList<[Function], ErrorDiag, "kernel functions">;
 }
 
+def AMDGCNAV : StmtAttr, TargetSpecificAttr<TargetAMDGPU> {
+  let Spellings = [Clang<"amdgcn_av">];
----------------
arsenm wrote:

Are there better names that spell out what this is? "AV" isn't particularly illuminating. Also, should be amdgpu not amdgcn 

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


More information about the cfe-commits mailing list