r193999 - in /trunk/gcc: ChangeLog Makefile.in ...
tejohnson@gcc.gnu.org
tejohnson@gcc.gnu.org
Fri Nov 30 16:47:00 GMT 2012
Author: tejohnson
Date: Fri Nov 30 16:47:04 2012
New Revision: 193999
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=193999
Log:
Revised patch to ensure that histograms from the profile summary are streamed
through the LTO files so that the working set can be computed for use in
downstream optimizations.
2012-11-30 Teresa Johnson <tejohnson@google.com>
* lto-cgraph.c (output_profile_summary): Stream out sum_all
and histogram.
(input_profile_summary): Stream in sum_all and histogram.
(merge_profile_summaries): Merge sum_all and histogram, and
change to use RDIV.
(input_symtab): Call compute_working_sets after merging
summaries.
* gcov-io.c (gcov_histo_index): Make extern for compiler.
* gcov-io.h (gcov_histo_index): Ditto.
* profile.c (compute_working_sets): Remove static keyword.
* profile.h (compute_working_sets): Ditto.
* Makefile.in (lto-cgraph.o): Depend on profile.h.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/Makefile.in
trunk/gcc/gcov-io.c
trunk/gcc/gcov-io.h
trunk/gcc/lto-cgraph.c
trunk/gcc/profile.c
trunk/gcc/profile.h
More information about the Gcc-cvs
mailing list