[PATCH] D54226: AMDGPU/InsertWaitcnts: Untangle some semi-global state

Nicolai Hähnle via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 22 05:16:15 PST 2018


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

- Early-out in generateWaitcntInstBefore when no wait is needed. This helps keep the nesting complexity in check for later changes.


Repository:
  rL LLVM

https://reviews.llvm.org/D54226

Files:
  lib/Target/AMDGPU/SIInsertWaitcnts.cpp
  lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp
  lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.h
  test/CodeGen/AMDGPU/smrd-vccz-bug.ll
  test/CodeGen/AMDGPU/vccz-corrupt-bug-workaround.mir
  test/CodeGen/AMDGPU/waitcnt-preexisting.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D54226.175040.patch
Type: text/x-patch
Size: 30821 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181122/81376856/attachment.bin>


More information about the llvm-commits mailing list