diff options
author | Devang Patel <dpatel@apple.com> | 2007-05-23 05:08:52 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2007-05-23 05:08:52 +0000 |
commit | 4d01a7b1b52e12324fa18658768a9fa1b2c2ae0d (patch) | |
tree | 63c90312c471296acf5551356cad33299a659554 /llvm/lib/VMCore/PassManager.cpp | |
parent | bee7b32ef858d1739aafc4cd42a220076620924a (diff) | |
download | bcm5719-llvm-4d01a7b1b52e12324fa18658768a9fa1b2c2ae0d.tar.gz bcm5719-llvm-4d01a7b1b52e12324fa18658768a9fa1b2c2ae0d.zip |
If user wants to run instcombine twice, do not block it.
llvm-svn: 37301
Diffstat (limited to 'llvm/lib/VMCore/PassManager.cpp')
-rw-r--r-- | llvm/lib/VMCore/PassManager.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/llvm/lib/VMCore/PassManager.cpp b/llvm/lib/VMCore/PassManager.cpp index e590a6cc2a8..9b515fddeaa 100644 --- a/llvm/lib/VMCore/PassManager.cpp +++ b/llvm/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); |