[PATCH] D40163: AMDGPU: Move hazard avoidance out of waitcnt pass.

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 16 19:42:31 PST 2017


arsenm created this revision.
Herald added subscribers: tpr, dstuttard, yaxunl, nhaehnle, wdng, kzhuravl.

This is mostly moving VMEM clause breaking into
he hazard recognizer. Also move another hazard
currently handled in the waitcnt pass.

Also stops breaking clauses unless xnack is enabled.


https://reviews.llvm.org/D40163

Files:
  lib/Target/AMDGPU/AMDGPUSubtarget.h
  lib/Target/AMDGPU/GCNHazardRecognizer.cpp
  lib/Target/AMDGPU/GCNHazardRecognizer.h
  lib/Target/AMDGPU/SIInsertWaitcnts.cpp
  test/CodeGen/AMDGPU/break-vmem-soft-clauses.mir
  test/CodeGen/AMDGPU/inserted-wait-states.mir
  test/CodeGen/AMDGPU/sendmsg-m0-hazard.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D40163.123287.patch
Type: text/x-patch
Size: 37615 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171117/5b3d9932/attachment-0001.bin>


More information about the llvm-commits mailing list