ipa-profile.c: Add toplevel comment.
authorJan Hubicka <jh@suse.cz>
Mon, 9 Sep 2013 07:37:53 +0000 (09:37 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Mon, 9 Sep 2013 07:37:53 +0000 (07:37 +0000)
commitdaf5c7705fe749beef4971a4cbaff770f784d4d6
treebf09a0700a2bcf2fd44b45cba67aa2fbf69d9130
parenta12cd2db29add721d2124b5cafa1dd44128dd554
ipa-profile.c: Add toplevel comment.

* 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.

From-SVN: r202382
gcc/ChangeLog
gcc/ipa-profile.c
gcc/predict.c