[PATCH] D15829: [PGO] Clang Option that enables IR level PGO instrumentation
Sean Silva via cfe-commits
cfe-commits at lists.llvm.org
Thu Jan 21 19:32:17 PST 2016
silvas added a comment.
@slingn and I had a discussion offline about the potential names and came up with some ideas, but none is a clear winner.
Overall, my feeling is that from a user's perspective, the frontend stuff is probably best referred to as "coverage-based". It's not as clear for the IR-level stuff, but referring to it as the "pgo focused" or "optimization focused" instrumentation might be a way to describe it. E.g. perhaps `-fprofile-instr-method={coverage,optimization}`.
For now, can we make this a CC1-only option? Then we don't have to hold up the patch review on the driver stuff. Once we have fully integrated the IR-level instrumentation, we can revisit exposing the user-visible name. (as compiler developers, we can of course use the flag freely for integration/testing).
http://reviews.llvm.org/D15829
More information about the cfe-commits
mailing list