This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Update ipa-cp to new time metrics


Hi,

On Tue, May 02, 2017 at 11:33:28AM +0200, Jan Hubicka wrote:
> Hi,
> this patch makes ipa-cp to use nonspecialized time as a base for decision about
> cloning.  I wonder about the capping - we perhaps want to use sreals further in
> the code because time differences can be large (with profile feedback). But I
> guess this can be done incrementally - main point of the patch is to update
> interfaces from ipa-analysis.
> 
> Bootstrapped/regtested x86_64-linux, OK?

Yes it is, thanks.

Martin

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]