[all-commits] [llvm/llvm-project] 8f187c: [AMDGPU] introduce S_WAITCNT_LDS_DIRECT in the mem...

Sameer Sahasrabuddhe via All-commits all-commits at lists.llvm.org
Tue Jul 29 22:53:49 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8f187c74b3ad77ef8a15bc3d2d718ccd88edb873
      https://github.com/llvm/llvm-project/commit/8f187c74b3ad77ef8a15bc3d2d718ccd88edb873
  Author: Sameer Sahasrabuddhe <sameer.sahasrabuddhe at amd.com>
  Date:   2025-07-30 (Wed, 30 Jul 2025)

  Changed paths:
    M llvm/lib/Target/AMDGPU/SIInsertWaitcnts.cpp
    M llvm/lib/Target/AMDGPU/SIMemoryLegalizer.cpp
    M llvm/lib/Target/AMDGPU/SOPInstructions.td
    M llvm/test/CodeGen/AMDGPU/GlobalISel/memory-legalizer-atomic-fence.ll
    A llvm/test/CodeGen/AMDGPU/insert-waitcnts-fence-soft.mir
    A llvm/test/CodeGen/AMDGPU/lds-dma-workgroup-release.ll

  Log Message:
  -----------
  [AMDGPU] introduce S_WAITCNT_LDS_DIRECT in the memory legalizer  (#150887)

The new instruction represents the unknown number of waitcnts needed at a
release operation to ensure that prior direct loads to LDS (formerly called LDS
DMA) are completed. The instruction is replaced in SIInsertWaitcnts with a
suitable value for vmcnt().

Co-authored-by: Austin Kerbow <austin.kerbow 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