aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2007-05-23 05:08:52 +0000
committerDevang Patel <dpatel@apple.com>2007-05-23 05:08:52 +0000
commitb3b87708eb72ebcfc2e13e42437550b9f1c82edd (patch)
treea8fdd5c1df7c3ea31b294a52bf46141493d6e510
parent57a460e63d170a67debc10199f6477adef7ba57a (diff)
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
-rw-r--r--lib/VMCore/PassManager.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/VMCore/PassManager.cpp b/lib/VMCore/PassManager.cpp
index e590a6cc2a..9b515fddea 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);