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

Austin Kerbow via All-commits all-commits at lists.llvm.org
Thu Mar 20 14:12:24 PDT 2025


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

  Changed paths:
    M llvm/lib/Target/AMDGPU/SIInsertWaitcnts.cpp
    A llvm/test/CodeGen/AMDGPU/relax-lds-dma-waitcnt.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