[all-commits] [llvm/llvm-project] 2efe0c: [AMDGCN] pre-checkin test for LDS DMA and release ...

Sameer Sahasrabuddhe via All-commits all-commits at lists.llvm.org
Sun Jul 27 23:32:42 PDT 2025


  Branch: refs/heads/users/ssahasra/waitcnt-lds-direct-2
  Home:   https://github.com/llvm/llvm-project
  Commit: 2efe0cd67fc0e7f2d035d7913cbf858493036fb0
      https://github.com/llvm/llvm-project/commit/2efe0cd67fc0e7f2d035d7913cbf858493036fb0
  Author: Sameer Sahasrabuddhe <sameer.sahasrabuddhe at amd.com>
  Date:   2025-07-28 (Mon, 28 Jul 2025)

  Changed paths:
    A llvm/test/CodeGen/AMDGPU/lds-dma-workgroup-release.ll

  Log Message:
  -----------
  [AMDGCN] pre-checkin test for LDS DMA and release operations


  Commit: a997d3282b52ed3f2820c1570c4c979efa4ed3bb
      https://github.com/llvm/llvm-project/commit/a997d3282b52ed3f2820c1570c4c979efa4ed3bb
  Author: Sameer Sahasrabuddhe <sameer.sahasrabuddhe at amd.com>
  Date:   2025-07-28 (Mon, 28 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
    M llvm/test/CodeGen/AMDGPU/lds-dma-workgroup-release.ll

  Log Message:
  -----------
  [AMDGPU] introduce S_WAITCNT_LDS_DIRECT in the memory legalizer

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>.


Compare: https://github.com/llvm/llvm-project/compare/2efe0cd67fc0%5E...a997d3282b52

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