[DSE,MSSA] Continue checking more remaining candidates with dbgcnt.

After changing the candidate iteration strategy, we should continue with
the next candidate, rather than breaking out of the loop.
This commit is contained in:
Florian Hahn 2020-04-23 18:58:33 +01:00
parent c758181525
commit 2f3e86b318
1 changed files with 1 additions and 1 deletions

View File

@ -1929,7 +1929,7 @@ bool eliminateDeadStoresMemorySSA(Function &F, AliasAnalysis &AA,
}
if (!DebugCounter::shouldExecute(MemorySSACounter))
break;
continue;
// Check if NI overwrites SI.
int64_t InstWriteOffset, DepWriteOffset;