[llvm] r289676 - revert r289669 which breaks bots
Dehao Chen via llvm-commits
llvm-commits at lists.llvm.org
Wed Dec 14 09:23:17 PST 2016
Author: dehao
Date: Wed Dec 14 11:23:16 2016
New Revision: 289676
URL: http://llvm.org/viewvc/llvm-project?rev=289676&view=rev
Log:
revert r289669 which breaks bots
Modified:
llvm/trunk/include/llvm/Transforms/IPO/PassManagerBuilder.h
llvm/trunk/lib/Transforms/IPO/PassManagerBuilder.cpp
Modified: llvm/trunk/include/llvm/Transforms/IPO/PassManagerBuilder.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Transforms/IPO/PassManagerBuilder.h?rev=289676&r1=289675&r2=289676&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Transforms/IPO/PassManagerBuilder.h (original)
+++ llvm/trunk/include/llvm/Transforms/IPO/PassManagerBuilder.h Wed Dec 14 11:23:16 2016
@@ -149,8 +149,6 @@ public:
std::string PGOInstrGen;
/// Path of the profile data file.
std::string PGOInstrUse;
- /// Path of the sample Profile data file.
- std::string PGOSampleUse;
private:
/// ExtensionList - This is list of all of the extensions that are registered.
Modified: llvm/trunk/lib/Transforms/IPO/PassManagerBuilder.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/IPO/PassManagerBuilder.cpp?rev=289676&r1=289675&r2=289676&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/IPO/PassManagerBuilder.cpp (original)
+++ llvm/trunk/lib/Transforms/IPO/PassManagerBuilder.cpp Wed Dec 14 11:23:16 2016
@@ -383,11 +383,6 @@ void PassManagerBuilder::addFunctionSimp
void PassManagerBuilder::populateModulePassManager(
legacy::PassManagerBase &MPM) {
- if (!PGOSampleUse.empty()) {
- MPM.add(createPruneEHPass());
- MPM.add(createSampleProfileLoaderPass(PGOSampleUse));
- }
-
// Allow forcing function attributes as a debugging and tuning aid.
MPM.add(createForceFunctionAttrsLegacyPass());
More information about the llvm-commits
mailing list