[llvm-commits] [llvm] r80919 - /llvm/trunk/lib/Analysis/LoopPass.cpp
Dan Gohman
gohman at apple.com
Thu Sep 3 08:09:25 PDT 2009
Author: djg
Date: Thu Sep 3 10:09:24 2009
New Revision: 80919
URL: http://llvm.org/viewvc/llvm-project?rev=80919&view=rev
Log:
Don't try to verify a LoopPass analysis if the loop has been deleted.
Modified:
llvm/trunk/lib/Analysis/LoopPass.cpp
Modified: llvm/trunk/lib/Analysis/LoopPass.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Analysis/LoopPass.cpp?rev=80919&r1=80918&r2=80919&view=diff
==============================================================================
--- llvm/trunk/lib/Analysis/LoopPass.cpp (original)
+++ llvm/trunk/lib/Analysis/LoopPass.cpp Thu Sep 3 10:09:24 2009
@@ -239,7 +239,9 @@
dumpPassInfo(P, MODIFICATION_MSG, ON_LOOP_MSG, "");
dumpPreservedSet(P);
- verifyPreservedAnalysis(LP);
+ if (!skipThisLoop)
+ verifyPreservedAnalysis(LP);
+
removeNotPreservedAnalysis(P);
recordAvailableAnalysis(P);
removeDeadPasses(P, "", ON_LOOP_MSG);
More information about the llvm-commits
mailing list