diff options
author | Xinliang David Li <davidxl@google.com> | 2016-04-18 17:47:38 +0000 |
---|---|---|
committer | Xinliang David Li <davidxl@google.com> | 2016-04-18 17:47:38 +0000 |
commit | e6b892940fcaf83ae4b151457e62c880d3159f7a (patch) | |
tree | 0b8d8614f4a53b294db917636f7460c413ece396 /llvm/lib/Transforms/IPO/PassManagerBuilder.cpp | |
parent | 7deb1ac8a1d7951c98fcad3e2ef6610cbf3fcebc (diff) | |
download | bcm5719-llvm-e6b892940fcaf83ae4b151457e62c880d3159f7a.tar.gz bcm5719-llvm-e6b892940fcaf83ae4b151457e62c880d3159f7a.zip |
Port InstrProfiling pass to the new pass manager
Differential Revision: http://reviews.llvm.org/D18126
llvm-svn: 266637
Diffstat (limited to 'llvm/lib/Transforms/IPO/PassManagerBuilder.cpp')
-rw-r--r-- | llvm/lib/Transforms/IPO/PassManagerBuilder.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/IPO/PassManagerBuilder.cpp b/llvm/lib/Transforms/IPO/PassManagerBuilder.cpp index 91b7dd0b52e..cf1d3f26dc8 100644 --- a/llvm/lib/Transforms/IPO/PassManagerBuilder.cpp +++ b/llvm/lib/Transforms/IPO/PassManagerBuilder.cpp @@ -220,7 +220,7 @@ void PassManagerBuilder::addPGOInstrPasses(legacy::PassManagerBase &MPM) { // Add the profile lowering pass. InstrProfOptions Options; Options.InstrProfileOutput = PGOInstrGen; - MPM.add(createInstrProfilingPass(Options)); + MPM.add(createInstrProfilingLegacyPass(Options)); } if (!PGOInstrUse.empty()) MPM.add(createPGOInstrumentationUsePass(PGOInstrUse)); |