https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119147

--- Comment #5 from Jan Hubicka <hubicka at gcc dot gnu.org> ---
as g:132d01d96ea9d617aaffdd5dfba3284a8958e529 I have committed the patch that
enables ipa-cp to clone over edges which are !maybe_hot_p().
This improves x264 with FDO by 7.8% and exchange by 3.3%

It causes quite noticeable code size bloat with -fprofile-use
https://lnt.opensuse.org/db_default/v4/SPEC/64577 (O3) i.e. 6.4% on GCC binary
https://lnt.opensuse.org/db_default/v4/SPEC/64571 (O2)

While there are no performance improvements at -O2. This is bit odd, since we
should clone only if we know that we are going to improve something in 

So the heuristics needs work...

Reply via email to