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

Jay Foad via All-commits all-commits at lists.llvm.org
Wed Aug 21 09:40:28 PDT 2024


  Branch: refs/heads/users/foad/vmem-write-vgpr-in-order_split_split
  Home:   https://github.com/llvm/llvm-project
  Commit: e53f75835dd0f0fc9d11b17afbe40de9b4a8a35b
      https://github.com/llvm/llvm-project/commit/e53f75835dd0f0fc9d11b17afbe40de9b4a8a35b
  Author: Jay Foad <jay.foad at amd.com>
  Date:   2024-08-21 (Wed, 21 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