[llvm] r358903 - [IPSCCP] Add missing `AssumptionCacheTracker` dependency
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 24 04:34:04 PDT 2019
Thanks Justin!
> On Apr 22, 2019, at 18:38, Justin Bogner via llvm-commits <llvm-commits at lists.llvm.org> wrote:
>
> Author: bogner
> Date: Mon Apr 22 10:38:29 2019
> New Revision: 358903
>
> URL: http://llvm.org/viewvc/llvm-project?rev=358903&view=rev
> Log:
> [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.
>
> Modified:
> llvm/trunk/lib/Transforms/IPO/SCCP.cpp
>
> Modified: llvm/trunk/lib/Transforms/IPO/SCCP.cpp
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/IPO/SCCP.cpp?rev=358903&r1=358902&r2=358903&view=diff
> ==============================================================================
> --- llvm/trunk/lib/Transforms/IPO/SCCP.cpp (original)
> +++ llvm/trunk/lib/Transforms/IPO/SCCP.cpp Mon Apr 22 10:38:29 2019
> @@ -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",
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at lists.llvm.org
> https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits
More information about the llvm-commits
mailing list