[PATCH] D42854: [AMDGPU] Suppress redundant waitcnt instrs
Stanislav Mekhanoshin via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 6 17:00:26 PST 2018
rampitec added inline comments.
================
Comment at: lib/Target/AMDGPU/SIInsertWaitcnts.cpp:1533
// Leaving the previously existing waitcnts is conservatively correct.
- if (CompilerGeneratedWaitcntSet.find(&Inst) ==
- CompilerGeneratedWaitcntSet.end())
+ if (TrackedWaitcntSet.find(&Inst) ==
+ TrackedWaitcntSet.end())
----------------
!TrackedWaitcntSet.count(&Inst) I guess.
https://reviews.llvm.org/D42854
More information about the llvm-commits
mailing list