1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 20:23:11 +01:00

[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 f441ec0184
commit 0af1ac6753

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;