mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 20:51:52 +01:00
Fix this debug output to handle the case where the loop has been deleted.
llvm-svn: 82994
This commit is contained in:
parent
aade5fefdb
commit
7a5cb984e6
@ -241,7 +241,8 @@ bool LPPassManager::runOnFunction(Function &F) {
|
||||
|
||||
if (Changed)
|
||||
dumpPassInfo(P, MODIFICATION_MSG, ON_LOOP_MSG,
|
||||
CurrentLoop->getHeader()->getNameStr());
|
||||
skipThisLoop ? "<deleted>" :
|
||||
CurrentLoop->getHeader()->getNameStr());
|
||||
dumpPreservedSet(P);
|
||||
|
||||
if (!skipThisLoop) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user