ipa-cp.c (perform_estimation_of_a_value): Drop base_time parameter; update use of...
authorJan Hubicka <hubicka@ucw.cz>
Thu, 4 May 2017 13:57:35 +0000 (15:57 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Thu, 4 May 2017 13:57:35 +0000 (13:57 +0000)
commit26f1a658e6308da5a7b804391c624acc3b1bee74
tree4dab4f19629014b0e1a03b4b402d4da8ae4749e1
parent4d147bca3f0f1fadac32d4306a654e975b364341
ipa-cp.c (perform_estimation_of_a_value): Drop base_time parameter; update use of estimate_ipcp_clone_size_and_time.

* ipa-cp.c (perform_estimation_of_a_value): Drop base_time parameter;
update use of estimate_ipcp_clone_size_and_time.
(estimate_local_effects): Update use of
estimate_ipcp_clone_size_and_time and perform_estimation_of_a_value.
* ipa-inline.h (estimate_ipcp_clone_size_and_time): Update prototype.
* ipa-inline-analysis.c (estimate_ipcp_clone_size_and_time):
Return nonspecialized time.

* gcc.dg/ipa/ipcp-2.c: Decrease ipcp threshold
* gcc.dg/tree-ssa/ipa-cp-1.c: Likewise.

From-SVN: r247597
gcc/ChangeLog
gcc/ipa-cp.c
gcc/ipa-inline-analysis.c
gcc/ipa-inline.h
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/ipa/ipcp-2.c
gcc/testsuite/gcc.dg/tree-ssa/ipa-cp-1.c