ipa-fnsummary.c (estimate_edge_size_and_time): Do not call estimate_edge_devirt_benef...
authorJan Hubicka <hubicka@ucw.cz>
Sat, 9 Nov 2019 17:37:38 +0000 (18:37 +0100)
committerJan Hubicka <hubicka@gcc.gnu.org>
Sat, 9 Nov 2019 17:37:38 +0000 (17:37 +0000)
commit83263ef536402228e0a6cdf5f0fae8055b8b472d
tree4c38ff7bab7e22adafc07aa7996875e527862e2e
parentc47bee97fa9927563a5015b28e24a5505ba557a3
ipa-fnsummary.c (estimate_edge_size_and_time): Do not call estimate_edge_devirt_benefit when not computing hints...

* ipa-fnsummary.c (estimate_edge_size_and_time): Do not call
estimate_edge_devirt_benefit when not computing hints;
do not compute time when not asked for.
(estimate_calls_size_and_time): Pass NULL hints and time when
these are not computed; do not evaluate hint predicates when these are
not computed.
(ipa_merge_fn_summary_after_inlining): Do not re-evaluate edge
frequency.

From-SVN: r278005
gcc/ChangeLog
gcc/ipa-fnsummary.c