[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 08:01:39 PDT 2023
jmmartinez added inline comments.
================
Comment at: llvm/test/CodeGen/AMDGPU/GlobalISel/atomicrmw_uinc_wrap.ll:71
-; GFX10-NEXT: s_waitcnt vmcnt(0) lgkmcnt(0)
-; GFX10-NEXT: s_waitcnt_vscnt null, 0x0
; GFX10-NEXT: ds_inc_rtn_u32 v0, v0, v1
----------------
TODO: check if the `s_waitcnt_vscnt` is removed when the function is a non-entry function.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D156679/new/
https://reviews.llvm.org/D156679
More information about the llvm-commits
mailing list