[PATCH] D15829: [PGO] Clang Option that enables IR level PGO instrumentation
David Li via cfe-commits
cfe-commits at lists.llvm.org
Wed Jan 27 16:43:50 PST 2016
davidxl added inline comments.
Comment at: include/clang/Frontend/CodeGenOptions.def:106
@@ -105,3 +105,3 @@
-CODEGENOPT(ProfileInstrGenerate , 1, 0) ///< Instrument code to generate
- ///< execution counts to use with PGO.
+CODEGENOPT(ProfileClangInstr, 1, 0) ///< Clang Instrumentation to generate
+ ///< execution counts to use with PGO.
For the sake of being consistent with the new cc1 option, making this an enum option is better:
ENUM_CODEGENOPT(ProfileInstr,... ) which takes two legal values ProfInstrClang, ProfInstrLLVM
I'd like to hear Sean's opinion on this.
More information about the cfe-commits