forked from OSchip/llvm-project
[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:
parent
c758181525
commit
2f3e86b318
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue