[all-commits] [llvm/llvm-project] 5fb1e2: [AMDGPU] Enhance s_waitcnt insertion before barrie...

David Stuttard via All-commits all-commits at lists.llvm.org
Wed May 1 03:37:35 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5fb1e2825f0a550ee0509fd3b8c6d19c6e0fc082
      https://github.com/llvm/llvm-project/commit/5fb1e2825f0a550ee0509fd3b8c6d19c6e0fc082
  Author: David Stuttard <david.stuttard at amd.com>
  Date:   2024-05-01 (Wed, 01 May 2024)

  Changed paths:
    M llvm/lib/Target/AMDGPU/SIInsertWaitcnts.cpp
    M llvm/lib/Target/AMDGPU/SIInstrInfo.h
    M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.s.barrier.ll
    M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.s.barrier.wait.ll

  Log Message:
  -----------
  [AMDGPU] Enhance s_waitcnt insertion before barrier for gfx12 (#90595)

Code to determine if a waitcnt is required before a barrier instruction
only
considered S_BARRIER.
gfx12 adds barrier_signal/wait so need to enhance the existing code to
look for
a barrier start (which is just an S_BARRIER for earlier architectures).



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