]> granicus.if.org Git - llvm/commitdiff
LLVM 4.0: cherry-pick r292711 Add missing dependency to "Module Summary Analysis...
authorMehdi Amini <mehdi.amini@apple.com>
Sat, 21 Jan 2017 22:09:27 +0000 (22:09 +0000)
committerMehdi Amini <mehdi.amini@apple.com>
Sat, 21 Jan 2017 22:09:27 +0000 (22:09 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_40@292732 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Analysis/ModuleSummaryAnalysis.cpp

index 6387bb36166ef68de2a9756afb08d3c376a1aa24..f5ba637e58e20332d465c7562d895a14d56f8014 100644 (file)
@@ -405,6 +405,7 @@ char ModuleSummaryIndexWrapperPass::ID = 0;
 INITIALIZE_PASS_BEGIN(ModuleSummaryIndexWrapperPass, "module-summary-analysis",
                       "Module Summary Analysis", false, true)
 INITIALIZE_PASS_DEPENDENCY(BlockFrequencyInfoWrapperPass)
+INITIALIZE_PASS_DEPENDENCY(ProfileSummaryInfoWrapperPass)
 INITIALIZE_PASS_END(ModuleSummaryIndexWrapperPass, "module-summary-analysis",
                     "Module Summary Analysis", false, true)