[PATCH] D156671: [AMDGPU][SIInsertWaitcnts] Initialize the WaitcntBrackets for non-kernel functions
Jay Foad via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 31 06:28:25 PDT 2023
foad added inline comments.
================
Comment at: llvm/lib/Target/AMDGPU/SIInsertWaitcnts.cpp:1863
;
BuildMI(EntryBB, I, DebugLoc(), TII->get(AMDGPU::S_WAITCNT)).addImm(0);
----------------
For non-kernel functions we emit s_waitcnt 0 here so we know the counters are 0.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D156671/new/
https://reviews.llvm.org/D156671
More information about the llvm-commits
mailing list