[PATCH] D127963: [AMDGPU] Add support for GFX11 LDSDIR hazards

Jay Foad via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 16 07:16:58 PDT 2022


foad created this revision.
foad added reviewers: Joe_Nash, rampitec, critson, piotr.
Herald added subscribers: kosarev, jsilvanus, hsmhsm, kerbowa, hiraditya, t-tye, tpr, dstuttard, yaxunl, nhaehnle, jvesely, kzhuravl, arsenm.
Herald added a project: All.
foad requested review of this revision.
Herald added subscribers: llvm-commits, wdng.
Herald added a project: LLVM.

Detect LDS direct WAR/WAW hazards and compute values for
wait_vdst (va_vdst) parameter.  Where appropriate this
raises wait_vdst from the default 0 to allow concurrent
issue of LDS direct with VALU execution.

Also detect LDS direct versus VMEM source VGPR hazards
and insert vm_vsrc=0 waits using s_waitcnt_depctr.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D127963

Files:
  llvm/lib/Target/AMDGPU/GCNHazardRecognizer.cpp
  llvm/lib/Target/AMDGPU/GCNHazardRecognizer.h
  llvm/test/CodeGen/AMDGPU/lds-direct-hazards.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D127963.437529.patch
Type: text/x-patch
Size: 19132 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220616/fa4eb4a2/attachment.bin>


More information about the llvm-commits mailing list