[PATCH] D156679: [WIP][AMDGPU][SIInsertWaitcnts] Do not add s_waitcnt when the counters are known to be 0 already

Juan Manuel Martinez CaamaƱo via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 31 05:21:05 PDT 2023


jmmartinez created this revision.
jmmartinez added reviewers: foad, rampitec, arsenm.
Herald added subscribers: StephenFan, kerbowa, hiraditya, tpr, dstuttard, yaxunl, jvesely, kzhuravl.
Herald added a project: All.
jmmartinez requested review of this revision.
Herald added subscribers: llvm-commits, wdng.
Herald added a project: LLVM.

Currently a WIP, I've only updated a single test to depict the change (there are ~50 tests that need update).


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D156679

Files:
  llvm/lib/Target/AMDGPU/SIInsertWaitcnts.cpp
  llvm/test/CodeGen/AMDGPU/GlobalISel/atomicrmw_uinc_wrap.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D156679.545607.patch
Type: text/x-patch
Size: 60962 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230731/9c77d108/attachment.bin>


More information about the llvm-commits mailing list