Incremental updating of inline summaries.
authorJan Hubicka <jh@suse.cz>
Thu, 21 Nov 2019 08:03:01 +0000 (09:03 +0100)
committerJan Hubicka <hubicka@gcc.gnu.org>
Thu, 21 Nov 2019 08:03:01 +0000 (08:03 +0000)
commitd2bcf46cd03bcc3ebdd9102e53022b6fb03202f7
tree92ffeae1886e53d112d01b1c55ba6c8ba4cdfcc7
parentb4b7464b57190287cb1bfc5eb56f63148a508f0c
Incremental updating of inline summaries.

        * ipa-fnsummary.c (ipa_fn_summary::account_size_time): Allow
negative time in calls summary; correct roundoff errors
leading to negative times.
(ipa_merge_fn_summary_after_inlining): Update calls size time table
if present.
(ipa_update_overall_fn_summary): Add RESET parameter.
* ipa-fnsummary.h (ipa_update_overall_fn_summary): Update prototype.
* ipa-inline-transform.c (inline_call): Enable incremental updates.

From-SVN: r278541
gcc/ChangeLog
gcc/ipa-fnsummary.c
gcc/ipa-fnsummary.h
gcc/ipa-inline-transform.c