aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/VMCore/PassManager.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/VMCore/PassManager.cpp b/lib/VMCore/PassManager.cpp
index 6c8d0624e6..c76a9e8739 100644
--- a/lib/VMCore/PassManager.cpp
+++ b/lib/VMCore/PassManager.cpp
@@ -426,14 +426,12 @@ void PMTopLevelManager::schedulePass(Pass *P) {
// Give pass a chance to prepare the stage.
P->preparePassManager(activeStack);
-#if 1
// If P is an analysis pass and it is available then do not
// generate the analysis again. Stale analysis info should not be
// available at this point.
if (P->getPassInfo() &&
P->getPassInfo()->isAnalysis() && findAnalysisPass(P->getPassInfo()))
return;
-#endif
AnalysisUsage AnUsage;
P->getAnalysisUsage(AnUsage);