We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c8c90e5 commit c2d5d9aCopy full SHA for c2d5d9a
llvm/lib/Target/AMDGPU/SIInsertWaitcnts.cpp
@@ -1904,7 +1904,7 @@ bool SIInsertWaitcnts::runOnMachineFunction(MachineFunction &MF) {
1904
// If the loop has multiple back-edges, and so more than one "bottom"
1905
// basic block, we have to guarantee a re-walk over every blocks.
1906
if ((std::count(BlockWaitcntProcessedSet.begin(),
1907
- BlockWaitcntProcessedSet.end(), &MBB) < (int)Count)) {
+ BlockWaitcntProcessedSet.end(), &MBB) < Count)) {
1908
BlockWaitcntBracketsMap[&MBB]->setRevisitLoop(true);
1909
LLVM_DEBUG(dbgs() << "set-revisit1: Block"
1910
<< ContainingLoop->getHeader()->getNumber() << '\n';);
0 commit comments