[PATCH] D43426: [AMDGPU] Make note of exisitng waitcnt instrs

Mark Searles via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 16 17:59:35 PST 2018


msearles created this revision.
msearles added a reviewer: rampitec.
msearles added a project: AMDGPU.
Herald added subscribers: t-tye, tpr, dstuttard, yaxunl, nhaehnle, wdng, kzhuravl, arsenm.

Make note of existing waitcnt instrs; this is add-on work related to suppression of redundant waitcnt instrs. It is necessary to make note of these existing waitcnt instrs so that we do not fall into an infinite loop when handling loops. Also, [NFC] some minor code clean-up.


https://reviews.llvm.org/D43426

Files:
  lib/Target/AMDGPU/SIInsertWaitcnts.cpp
  test/CodeGen/AMDGPU/waitcnt-no-redundant.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D43426.134778.patch
Type: text/x-patch
Size: 6275 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180217/bf42b513/attachment.bin>


More information about the llvm-commits mailing list