[all-commits] [llvm/llvm-project] ba0685: [AMDGPU] Remove one case of vmcnt loop header flus...

Jay Foad via All-commits all-commits at lists.llvm.org
Fri Aug 23 01:31:12 PDT 2024


  Branch: refs/heads/users/foad/vmem-write-vgpr-in-order_split_split
  Home:   https://github.com/llvm/llvm-project
  Commit: ba068578249bb02fcc3343f1aa123a1e09b14418
      https://github.com/llvm/llvm-project/commit/ba068578249bb02fcc3343f1aa123a1e09b14418
  Author: Jay Foad <jay.foad at amd.com>
  Date:   2024-08-23 (Fri, 23 Aug 2024)

  Changed paths:
    M llvm/lib/Target/AMDGPU/SIInsertWaitcnts.cpp
    M llvm/test/CodeGen/AMDGPU/waitcnt-vmcnt-loop.mir

  Log Message:
  -----------
  [AMDGPU] Remove one case of vmcnt loop header flushing for GFX12

When a loop contains a VMEM load whose result is only used outside the
loop, do not bother to flush vmcnt in the loop head on GFX12. A wait for
vmcnt will be required inside the loop anyway, because VMEM instructions
can write their VGPR results out of order.



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