[PATCH] D124626: [AMDGPU] Produce waitcounts for LDS DMA
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 28 11:45:55 PDT 2022
arsenm added inline comments.
================
Comment at: llvm/lib/Target/AMDGPU/SIInsertWaitcnts.cpp:655
}
- if (TII->isDS(Inst) && Inst.mayStore()) {
+ if ((TII->isDS(Inst) || mayWriteLDSThroughDMA(Inst)) && Inst.mayStore()) {
setRegScore(SQ_MAX_PGM_VGPRS + EXTRA_VGPR_LDS, T, CurrScore);
----------------
Swap these checks, Inst.mayStore() && ..
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D124626/new/
https://reviews.llvm.org/D124626
More information about the llvm-commits
mailing list