[cfe-dev] [llvm-dev] [RFC] New Feature Proposal: De-Optimizing Cold Functions using PGO Info
Renato Golin via cfe-dev
cfe-dev at lists.llvm.org
Wed Sep 9 07:10:49 PDT 2020
On Wed, 9 Sep 2020 at 14:27, Nemanja Ivanovic <nemanja.i.ibm at gmail.com>
wrote:
> A more aesthetic comment I have is that personally, I would prefer a
> single option with a default percentage (say 0%) rather than having to
> specify two options.
>
0% doesn't mean "don't do it", just means "only do that to functions I
didn't see running at all", which could be misrepresented in the profiling
run.
If we agree this should be *always* enabled, then only one option is
needed. Otherwise, we'd need negative percentages to mean "don't do that"
and that would be weird. :)
> Also, it might be useful to add an option to dump the names of functions
> that are decorated so the user can track an execution count of such
> functions when running their code. But of course, the debug messages may be
> adequate for this purpose.
>
Remark options should be enough for that.
--renato
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20200909/71858aca/attachment.html>
More information about the cfe-dev
mailing list