[PATCH] D64508: AMDGPU: Force s_waitcnt after GWS instructions

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 10 09:37:48 PDT 2019


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

This is apparently required to be the immediately following
instruction, so force it into a bundle with a waitcnt.


https://reviews.llvm.org/D64508

Files:
  lib/Target/AMDGPU/DSInstructions.td
  lib/Target/AMDGPU/SIISelLowering.cpp
  lib/Target/AMDGPU/SIISelLowering.h
  lib/Target/AMDGPU/SIInstrInfo.cpp
  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: D64508.208990.patch
Type: text/x-patch
Size: 8553 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190710/3b29b029/attachment.bin>


More information about the llvm-commits mailing list