[llvm-branch-commits] [llvm] [AMDGPU] Implement "non-av" semantics using metadata (PR #199489)

Fabian Ritter via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Tue May 26 05:13:44 PDT 2026


================
@@ -733,6 +737,13 @@ getSynchronizeAddrSpaceMD(const MachineInstr &MI) {
   return Result;
 }
 
+static bool hasAVNoneMMRA(const MachineInstr &MI) {
+  auto MMRA = MMRAMetadata(MI.getMMRAMetadata());
+  if (!MMRA)
+    return false;
+  return MMRA.hasTag("amdgcn-av", "none");
----------------
ritter-x2a wrote:

Should the tag name be `amdgpu-av`, to be more consistent with the existing `amdgpu-synchronize-as`?

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


More information about the llvm-branch-commits mailing list