[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 12:10:30 PDT 2020
On Wed, 9 Sep 2020 at 19:26, Nemanja Ivanovic <nemanja.i.ibm at gmail.com>
wrote:
> - Default (i.e. no -profile-deopt-cold): do nothing
> - Option with no arg (i.e. -profile-deopt-cold): add attribute only to
> functions that have an execution count of zero
> - Option with an arg (i.e. -profile-deopt-cold=<N>): add attribute to
> functions that account for <N>% of total execution counts
>
I see. This looks confusing to me, but perhaps it's just me.
Though, I'm not sure we can get this behaviour from the same flag, as you
need to provide a default value if the flag isn't passed (usually boolean
or integer, not both).
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20200909/9f840692/attachment.html>
More information about the cfe-dev
mailing list