[all-commits] [llvm/llvm-project] e89632: [Clang][AMDGPU] Add ``amdgcn_av("none")`` attribut...
Sameer Sahasrabuddhe via All-commits
all-commits at lists.llvm.org
Tue May 26 00:48:44 PDT 2026
Branch: refs/heads/users/ssahasra/av-metadata-clang
Home: https://github.com/llvm/llvm-project
Commit: e8963264d6dd7a37eedab7aff53d4ad008214fff
https://github.com/llvm/llvm-project/commit/e8963264d6dd7a37eedab7aff53d4ad008214fff
Author: Sameer Sahasrabuddhe <sameer.sahasrabuddhe at amd.com>
Date: 2026-05-26 (Tue, 26 May 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-attr.cpp
Log Message:
-----------
[Clang][AMDGPU] Add ``amdgcn_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