Skip to content

Commit 592a1ac

Browse files
author
git apple-llvm automerger
committed
Merge commit 'b887da81cc17' from llvm.org/master into apple/master
2 parents 0976bce + b887da8 commit 592a1ac

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

llvm/include/llvm/Transforms/IPO.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -282,8 +282,6 @@ ModulePass *createSampleProfileLoaderPass(StringRef Name);
282282
ModulePass *createWriteThinLTOBitcodePass(raw_ostream &Str,
283283
raw_ostream *ThinLinkOS = nullptr);
284284

285-
ModulePass *createCGProfileLegacyPass();
286-
287285
} // End llvm namespace
288286

289287
#endif

llvm/include/llvm/Transforms/Instrumentation.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,8 @@ ModulePass *createPGOIndirectCallPromotionLegacyPass(bool InLTO = false,
8888
bool SamplePGO = false);
8989
FunctionPass *createPGOMemOPSizeOptLegacyPass();
9090

91+
ModulePass *createCGProfileLegacyPass();
92+
9193
// The pgo-specific indirect call promotion function declared below is used by
9294
// the pgo-driven indirect call promotion and sample profile passes. It's a
9395
// wrapper around llvm::promoteCall, et al. that additionally computes !prof

llvm/lib/Transforms/Instrumentation/CGProfile.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
#include "llvm/IR/PassManager.h"
1919
#include "llvm/InitializePasses.h"
2020
#include "llvm/ProfileData/InstrProf.h"
21-
#include "llvm/Transforms/IPO.h"
2221
#include "llvm/Transforms/Instrumentation.h"
2322

2423
#include <array>

0 commit comments

Comments
 (0)