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
This commit is contained in:
Devang Patel 2007-05-23 05:08:52 +00:00
parent 57a460e63d
commit b3b87708eb

View File

@ -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);