[PATCH] D63365: AMDGPU: Add ds_gws_init / ds_gws_barrier intrinsics

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 14 15:42:59 PDT 2019


arsenm updated this revision to Diff 204867.
arsenm added a comment.

Set mayLoad = 0 on DS_GWS_INIT, add test where I'm not sure if a wait should be implicitly inserted. The waitcnt tracking uses register uses, not memory dependencies, so I think a fence should be required


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D63365/new/

https://reviews.llvm.org/D63365

Files:
  include/llvm/IR/IntrinsicsAMDGPU.td
  lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp
  lib/Target/AMDGPU/DSInstructions.td
  lib/Target/AMDGPU/SIISelLowering.cpp
  lib/Target/AMDGPU/SIInsertWaitcnts.cpp
  lib/Target/AMDGPU/SIMachineFunctionInfo.h
  test/CodeGen/AMDGPU/gws-hazards.mir
  test/CodeGen/AMDGPU/llvm.amdgcn.ds.gws.barrier.ll
  test/CodeGen/AMDGPU/llvm.amdgcn.ds.gws.init.ll
  test/CodeGen/AMDGPU/tail-duplication-convergent.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D63365.204867.patch
Type: text/x-patch
Size: 28526 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190614/e3070cb5/attachment.bin>


More information about the llvm-commits mailing list