[all-commits] [llvm/llvm-project] 58faa7: [AMDGPU] Relax lds dma waitcnt with no aliasing pair

Austin Kerbow via All-commits all-commits at lists.llvm.org
Mon Mar 24 08:50:09 PDT 2025


  Branch: refs/heads/users/kerbowa/rexlax-lds-dma-wait
  Home:   https://github.com/llvm/llvm-project
  Commit: 58faa7829c54df0765fb45fcece0d60883c74ff0
      https://github.com/llvm/llvm-project/commit/58faa7829c54df0765fb45fcece0d60883c74ff0
  Author: Austin Kerbow <Austin.Kerbow at amd.com>
  Date:   2025-03-24 (Mon, 24 Mar 2025)

  Changed paths:
    M llvm/lib/Target/AMDGPU/SIInsertWaitcnts.cpp
    M llvm/test/CodeGen/AMDGPU/lds-dma-waits.ll

  Log Message:
  -----------
  [AMDGPU] Relax lds dma waitcnt with no aliasing pair

If we cannot find any lds DMA instruction that is aliased by some load
from lds, we will still insert vmcnt(0). This is overly cautious since
handling inter-thread dependences is normally managed by the memory
model instead of the waitcnt pass, so this change updates the behavior
to be more inline with how other types of memory events are handled.



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