[all-commits] [llvm/llvm-project] b3df06: [AMDGPU] Implement "non-av" semantics using metada...

Sameer Sahasrabuddhe via All-commits all-commits at lists.llvm.org
Sun Jun 7 22:28:46 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b3df0665148b170925042411df9cf630efd53071
      https://github.com/llvm/llvm-project/commit/b3df0665148b170925042411df9cf630efd53071
  Author: Sameer Sahasrabuddhe <sameer.sahasrabuddhe at amd.com>
  Date:   2026-06-08 (Mon, 08 Jun 2026)

  Changed paths:
    M llvm/docs/AMDGPUMemoryModel.rst
    M llvm/docs/AMDGPUUsage.rst
    M llvm/lib/Target/AMDGPU/SIMemoryLegalizer.cpp
    A llvm/test/CodeGen/AMDGPU/memory-legalizer-av-none.ll
    A llvm/test/CodeGen/AMDGPU/memory-legalizer-av-unknown.ll

  Log Message:
  -----------
  [AMDGPU] Implement "non-av" semantics using metadata (#199489)

When the MMRA tag !{!"amdgcn-av", !"none"} is present on a
synchronization operation (fence, atomic load/store/rmw/cmpxchg),
suppress cache writeback (MakeAvailable) and cache invalidation
(MakeVisible) while preserving memory ordering (waits). This implements
the metadata proposed in #191246.

Part of a stack:

- #199486
- #199621
- #199489 
- #199622

Fixes: LCOMPILER-2214

Assisted-By: Claude Opus 4.6

---------

Co-authored-by: Pierre van Houtryve <pierre.vanhoutryve at amd.com>



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