[all-commits] [llvm/llvm-project] dbfe5c: [AMDGCN] pre-checkin test for LDS DMA and release ...
Sameer Sahasrabuddhe via All-commits
all-commits at lists.llvm.org
Tue Jul 22 22:24:54 PDT 2025
Branch: refs/heads/users/ssahasra/waitcnt-fence-soft
Home: https://github.com/llvm/llvm-project
Commit: dbfe5cca289e0c47b4c4c1a326d43a3dbb58a3a8
https://github.com/llvm/llvm-project/commit/dbfe5cca289e0c47b4c4c1a326d43a3dbb58a3a8
Author: Sameer Sahasrabuddhe <sameer.sahasrabuddhe at amd.com>
Date: 2025-07-23 (Wed, 23 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: 6e3be021c759ea7c2b741d02356d9c8d7ab8520d
https://github.com/llvm/llvm-project/commit/6e3be021c759ea7c2b741d02356d9c8d7ab8520d
Author: Sameer Sahasrabuddhe <sameer.sahasrabuddhe at amd.com>
Date: 2025-07-23 (Wed, 23 Jul 2025)
Changed paths:
M llvm/lib/Target/AMDGPU/SIDefines.h
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
M llvm/test/CodeGen/AMDGPU/memory-legalizer-local.mir
Log Message:
-----------
[AMDGPU] introduce S_WAITCNT_FENCE_soft emitted by memory legalizer
The new instruction represents any wait counts resulting from a fence, which the
memory legalizer cannot determine on its own. After lowering a fence to the
appropriate cache operations and any necessary S_WAIT* instructions, the
legalizer hands over further work to SIInsertWaitcnts using this instruction as
a placeholder. The waitcnt inserter can use additional information.
Currently this is used to implement efficient waitcnts for direct loads to LDS,
based on the ordering, scope and addrspace specified on the soft fence.
Compare: https://github.com/llvm/llvm-project/compare/dbfe5cca289e%5E...6e3be021c759
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