mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 11:42:57 +01:00
If user wants to run instcombine twice, do not block it.
llvm-svn: 37301
This commit is contained in:
parent
022e599e9f
commit
c81283a894
@ -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
Block a user