forked from OSchip/llvm-project
[IPSCCP] Add missing `AssumptionCacheTracker` dependency
Back in August, r340525 introduced a dependency on the assumption cache tracker in the ipsccp pass, but that commit missed a call to INITIALIZE_PASS_DEPENDENCY, which leaves the assumption cache improperly registered if SCCP is the only thing that pulls it in. llvm-svn: 358903
This commit is contained in:
parent
5de5d74c8d
commit
e90d5c8db0
|
@ -79,6 +79,7 @@ char IPSCCPLegacyPass::ID = 0;
|
|||
INITIALIZE_PASS_BEGIN(IPSCCPLegacyPass, "ipsccp",
|
||||
"Interprocedural Sparse Conditional Constant Propagation",
|
||||
false, false)
|
||||
INITIALIZE_PASS_DEPENDENCY(AssumptionCacheTracker)
|
||||
INITIALIZE_PASS_DEPENDENCY(DominatorTreeWrapperPass)
|
||||
INITIALIZE_PASS_DEPENDENCY(TargetLibraryInfoWrapperPass)
|
||||
INITIALIZE_PASS_END(IPSCCPLegacyPass, "ipsccp",
|
||||
|
|
Loading…
Reference in New Issue