If user wants to run instcombine twice, do not block it.
authorDevang Patel <dpatel@apple.com>
Wed, 23 May 2007 05:08:52 +0000 (05:08 +0000)
committerDevang Patel <dpatel@apple.com>
Wed, 23 May 2007 05:08:52 +0000 (05:08 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37301 91177308-0d34-0410-b5e6-96231b3b80d8

lib/VMCore/PassManager.cpp

index e590a6cc2a8eb8018267e84e189020bc58a1e7d2..9b515fddeaa61e4f4ae6da6e7aa94cc1cb04021b 100644 (file)
@@ -419,11 +419,6 @@ void PMTopLevelManager::schedulePass(Pass *P) {
   // TODO : Allocate function manager for this pass, other wise required set
   // may be inserted into previous function manager
 
-  // If this Analysis is already requested by one of the previous pass
-  // and it is still available then do not insert new pass in the queue again.
-  if (findAnalysisPass(P->getPassInfo()))
-      return;
-
   // Give pass a chance to prepare the stage.
   P->preparePassManager(activeStack);