[PATCH] D115747: [AMDGPU] Flush the vmcnt counter in loop preheader when necessary
Baptiste Saleil via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu May 26 14:21:45 PDT 2022
bsaleil updated this revision to Diff 432383.
bsaleil added a comment.
Herald added subscribers: kosarev, jsilvanus.
Add support for nested loops, and fixes the case where we have no terminator but preexisting s_waitcnt instructions. I still need to address @foad comments.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D115747/new/
https://reviews.llvm.org/D115747
Files:
llvm/lib/Target/AMDGPU/SIInsertWaitcnts.cpp
llvm/test/CodeGen/AMDGPU/llc-pipeline.ll
llvm/test/CodeGen/AMDGPU/waitcnt-vmcnt-loop.mir
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D115747.432383.patch
Type: text/x-patch
Size: 30118 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220526/54501030/attachment-0001.bin>
More information about the llvm-commits
mailing list