[all-commits] [llvm/llvm-project] e0d615: [Clang][AMDGPU] Add amdgpu_av("none") attribute fo...
Sameer Sahasrabuddhe via All-commits
all-commits at lists.llvm.org
Tue Aug 4 20:57:41 PDT 2026
Branch: refs/heads/users/ssahasra/av-metadata-clang
Home: https://github.com/llvm/llvm-project
Commit: e0d615a382162910ca535a06966fc936a94c0ad7
https://github.com/llvm/llvm-project/commit/e0d615a382162910ca535a06966fc936a94c0ad7
Author: Sameer Sahasrabuddhe <sameer.sahasrabuddhe at amd.com>
Date: 2026-08-05 (Wed, 05 Aug 2026)
Changed paths:
M clang/include/clang/Basic/Attr.td
M clang/include/clang/Basic/AttrDocs.td
M clang/include/clang/Basic/DiagnosticGroups.td
M clang/include/clang/Basic/DiagnosticSemaKinds.td
M clang/lib/CodeGen/CGAtomic.cpp
M clang/lib/CodeGen/CGBuiltin.cpp
M clang/lib/CodeGen/CGStmt.cpp
M clang/lib/CodeGen/CodeGenFunction.h
M clang/lib/CodeGen/TargetBuiltins/AMDGPU.cpp
M clang/lib/CodeGen/Targets/AMDGPU.cpp
M clang/lib/Sema/SemaStmtAttr.cpp
A clang/test/CodeGen/AMDGPU/amdgcn-av-non-atomic.cpp
A clang/test/CodeGen/AMDGPU/amdgcn-av-none-amdgpu-atomic.cpp
A clang/test/CodeGen/AMDGPU/amdgcn-av-none-attr-c-atomic.c
A clang/test/CodeGen/AMDGPU/amdgcn-av-none-attr.cpp
Log Message:
-----------
[Clang][AMDGPU] Add amdgpu_av("none") attribute for atomic expressions
Add a statement attribute that suppresses MakeAvailable/MakeVisible
cache operations on AMDGPU atomic instructions while preserving memory
ordering (waits).
The attribute takes a string argument specifying the mode. Currently "none" is
the only supported mode. The resulting atomic or fence instruction carries !mmra
!{!"amdgcn-av", !"none"} metadata.
Assisted-By: Claude Opus 4.6
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list