]> git.ipfire.org Git - thirdparty/gcc.git/commit
2013-11-12 Teresa Johnson <tejohnson@google.com>
authortejohnson <tejohnson@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 12 Nov 2013 15:03:28 +0000 (15:03 +0000)
committertejohnson <tejohnson@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 12 Nov 2013 15:03:28 +0000 (15:03 +0000)
commit38a65d4ef7e87789fbbfed30df8226be9a3ba85f
treedd1e6b187157352f6f08341a70daaedf473980fa
parent6d3c030fe155dda153688b331c17ba52017f758f
2013-11-12  Teresa Johnson  <tejohnson@google.com>
    Jan Hubicka  <jh@suse.cz>

* predict.c (drop_profile): New function.
(handle_missing_profiles): Ditto.
(counts_to_freqs): Don't overwrite estimated frequencies
when function has no profile counts.
* predict.h (handle_missing_profiles): Declare.
* tree-inline.c (freqs_to_counts): New function.
(copy_cfg_body): Invoke freqs_to_counts as needed.
* tree-profile.c (tree_profiling): Invoke handle_missing_profiles.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@204704 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/predict.c
gcc/predict.h
gcc/tree-inline.c
gcc/tree-profile.c