* ipa-profile.c: Add toplevel comment.
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 9 Sep 2013 07:37:53 +0000 (07:37 +0000)
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 9 Sep 2013 07:37:53 +0000 (07:37 +0000)
commite27f29dd2b9427e4213795ae892920c86e946e4e
treebf09a0700a2bcf2fd44b45cba67aa2fbf69d9130
parentd9ea4515ea28358084597612b5c86ddb3305faef
* ipa-profile.c: Add toplevel comment.
(ipa_propagate_frequency_1): Be more conservative when profile is read.
(contains_hot_call_p): New function.
(ipa_propagate_frequency): Set frequencies based on counts when
profile is read.
* predict.c (compute_function_frequency): Use PROFILE_READ gueard for
profile; do not tamper with profile after inlining if it is read.

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