llvm.org GIT mirror llvm / 5e64d8c
revert r289669 which breaks bots git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@289676 91177308-0d34-0410-b5e6-96231b3b80d8 Dehao Chen 2 years ago
2 changed file(s) with 0 addition(s) and 7 deletion(s). Raw diff Collapse all Expand all
148148 std::string PGOInstrGen;
149149 /// Path of the profile data file.
150150 std::string PGOInstrUse;
151 /// Path of the sample Profile data file.
152 std::string PGOSampleUse;
153151
154152 private:
155153 /// ExtensionList - This is list of all of the extensions that are registered.
382382
383383 void PassManagerBuilder::populateModulePassManager(
384384 legacy::PassManagerBase &MPM) {
385 if (!PGOSampleUse.empty()) {
386 MPM.add(createPruneEHPass());
387 MPM.add(createSampleProfileLoaderPass(PGOSampleUse));
388 }
389
390385 // Allow forcing function attributes as a debugging and tuning aid.
391386 MPM.add(createForceFunctionAttrsLegacyPass());
392387