aboutsummaryrefslogtreecommitdiff
path: root/lib/VMCore/PassManager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/VMCore/PassManager.cpp')
-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);