mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-19 04:32:19 +00:00
Don't try to verify a LoopPass analysis if the loop has been deleted.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80919 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
e7125f4bab
commit
dd12de686c
@ -239,7 +239,9 @@ bool LPPassManager::runOnFunction(Function &F) {
|
||||
dumpPassInfo(P, MODIFICATION_MSG, ON_LOOP_MSG, "");
|
||||
dumpPreservedSet(P);
|
||||
|
||||
verifyPreservedAnalysis(LP);
|
||||
if (!skipThisLoop)
|
||||
verifyPreservedAnalysis(LP);
|
||||
|
||||
removeNotPreservedAnalysis(P);
|
||||
recordAvailableAnalysis(P);
|
||||
removeDeadPasses(P, "", ON_LOOP_MSG);
|
||||
|
Loading…
x
Reference in New Issue
Block a user