From: Devang Patel Date: Wed, 23 May 2007 05:08:52 +0000 (+0000) Subject: If user wants to run instcombine twice, do not block it. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=b3b87708eb72ebcfc2e13e42437550b9f1c82edd;p=oota-llvm.git If user wants to run instcombine twice, do not block it. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37301 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/VMCore/PassManager.cpp b/lib/VMCore/PassManager.cpp index e590a6cc2a8..9b515fddeaa 100644 --- a/lib/VMCore/PassManager.cpp +++ b/lib/VMCore/PassManager.cpp @@ -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);