forked from OSchip/llvm-project
If user wants to run instcombine twice, do not block it.
llvm-svn: 37301
This commit is contained in:
parent
bee7b32ef8
commit
4d01a7b1b5
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue