[PATCH] D42854: [AMDGPU] Suppress redundant waitcnt instrs

Mark Searles via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 6 16:08:39 PST 2018


msearles updated this revision to Diff 133104.
msearles edited the summary of this revision.
msearles added a comment.

- Don't remove existing waitcnt instrs; if a redundant is to be inserted, keep the existing waitcnt and don't insert the duplicate.
- Fix mir test


https://reviews.llvm.org/D42854

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D42854.133104.patch
Type: text/x-patch
Size: 5390 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180207/f60d06d6/attachment.bin>


More information about the llvm-commits mailing list