mirror of
https://github.com/RPCSX/llvm.git
synced 2025-01-24 13:15:36 +00:00
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:
parent
57a460e63d
commit
b3b87708eb
@ -419,11 +419,6 @@ void PMTopLevelManager::schedulePass(Pass *P) {
|
|||||||
// TODO : Allocate function manager for this pass, other wise required set
|
// TODO : Allocate function manager for this pass, other wise required set
|
||||||
// may be inserted into previous function manager
|
// 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.
|
// Give pass a chance to prepare the stage.
|
||||||
P->preparePassManager(activeStack);
|
P->preparePassManager(activeStack);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user