llvm.org GIT mirror llvm / b6ef893
Add missing dependency in ICP. (NFC) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@310896 91177308-0d34-0410-b5e6-96231b3b80d8 Dehao Chen 2 years ago
1 changed file(s) with 9 addition(s) and 4 deletion(s). Raw diff Collapse all Expand all
141141 } // end anonymous namespace
142142
143143 char PGOIndirectCallPromotionLegacyPass::ID = 0;
144 INITIALIZE_PASS(PGOIndirectCallPromotionLegacyPass, "pgo-icall-prom",
145 "Use PGO instrumentation profile to promote indirect calls to "
146 "direct calls.",
147 false, false)
144 INITIALIZE_PASS_BEGIN(PGOIndirectCallPromotionLegacyPass, "pgo-icall-prom",
145 "Use PGO instrumentation profile to promote indirect "
146 "calls to direct calls.",
147 false, false)
148 INITIALIZE_PASS_DEPENDENCY(ProfileSummaryInfoWrapperPass)
149 INITIALIZE_PASS_END(PGOIndirectCallPromotionLegacyPass, "pgo-icall-prom",
150 "Use PGO instrumentation profile to promote indirect "
151 "calls to direct calls.",
152 false, false)
148153
149154 ModulePass *llvm::createPGOIndirectCallPromotionLegacyPass(bool InLTO,
150155 bool SamplePGO) {