[PATCH] D63464: AMDGPU: Insert mem_viol check loop around GWS pre-GFX9

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 17 16:48:12 PDT 2019


arsenm created this revision.
arsenm added reviewers: rampitec, b-sumner.
Herald added subscribers: t-tye, tpr, dstuttard, yaxunl, nhaehnle, wdng, jvesely, kzhuravl.

It is necessary to emit this loop around GWS operations in case the
wave is preempted pre-GFX9.


https://reviews.llvm.org/D63464

Files:
  lib/Target/AMDGPU/AMDGPUSubtarget.h
  lib/Target/AMDGPU/DSInstructions.td
  lib/Target/AMDGPU/SIDefines.h
  lib/Target/AMDGPU/SIISelLowering.cpp
  lib/Target/AMDGPU/SIISelLowering.h
  test/CodeGen/AMDGPU/llvm.amdgcn.ds.gws.barrier.ll
  test/CodeGen/AMDGPU/llvm.amdgcn.ds.gws.init.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D63464.205219.patch
Type: text/x-patch
Size: 25494 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190617/f1ff09ee/attachment.bin>


More information about the llvm-commits mailing list