[Bug tree-optimization/92924] [10 regression] reproducible indirect call profile merging causes 80% slowdown in Firefox pref-reftest-singletons id-getter microbenchmarks

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Feb 18 13:29:00 GMT 2020


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

--- Comment #29 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Martin Liska <marxin@gcc.gnu.org>:

https://gcc.gnu.org/g:ea0b12523d0d9a9059b5173ce9653b92ddfb284f

commit r10-6698-gea0b12523d0d9a9059b5173ce9653b92ddfb284f
Author: Martin Liska <mliska@suse.cz>
Date:   Tue Feb 18 14:28:22 2020 +0100

    Introduce -fprofile-reproducibility and support it with TOP N.

        PR ipa/92924
        * common.opt: Add -fprofile-reproducibility.
        * doc/invoke.texi: Document it.
        * value-prof.c (dump_histogram_value):
        Document and support behavior for counters[0]
        being a negative value.
        (get_nth_most_common_value): Handle negative
        counters[0] in respect to flag_profile_reproducible.
        PR ipa/92924
        * libgcov-merge.c (merge_topn_values_set): Record
        when a TOP N counter becomes invalid.  When merging
        remove a smallest value if the space is needed.


More information about the Gcc-bugs mailing list