[PATCH] D19203: AMDGPU/SI: Add llvm.amdgcn.s.waitcnt.all intrinsic

Nicolai Hähnle via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 19 18:42:23 PDT 2016


nhaehnle updated this revision to Diff 54311.
nhaehnle added a comment.

Changed the intrinsic to take a single argument.

Also changed the SIInsertWaits logic so that the intrinsic will be delayed
up to the next counter-incrementing instruction or the next "natural" wait
(and then merged with it).


http://reviews.llvm.org/D19203

Files:
  include/llvm/IR/IntrinsicsAMDGPU.td
  lib/Target/AMDGPU/SIInsertWaits.cpp
  lib/Target/AMDGPU/SIInstructions.td
  test/CodeGen/AMDGPU/llvm.amdgcn.s.waitcnt.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D19203.54311.patch
Type: text/x-patch
Size: 8381 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160420/aa06efa3/attachment.bin>


More information about the llvm-commits mailing list