[PATCH] D33539: [PM/PGO] Wire up the opt driver's new PM support to be able to run PGO.
David Li via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu May 25 09:48:46 PDT 2017
davidxl added inline comments.
================
Comment at: tools/opt/NewPMDriver.cpp:52
+ RunProfileGen("new-pm-profile-generate", cl::init(false), cl::Hidden,
+ cl::desc("Enable generating an instrumentation-based profile "
+ "with the new pass manager."));
----------------
-> Enable profiling generating instrumentation
================
Comment at: tools/opt/NewPMDriver.cpp:58
+ cl::value_desc("filename"),
+ cl::desc("Enable generating an instrumentation-based profile with the new "
+ "pass manager and write it to the specified file."));
----------------
Enable LLVM instrumentation for generating profile into the specified file.
https://reviews.llvm.org/D33539
More information about the llvm-commits
mailing list