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: [PATCH 08/14] Convert IPA CP to symbol_summary.


> 
> gcc/ChangeLog:
> 
> 2018-04-24  Martin Liska  <mliska@suse.cz>
> 
> 	* ipa-cp.c (ipcp_store_bits_results): Use
> 	ipcp_transformation_sum.
> 	(ipcp_store_vr_results): Likewise.
> 	* ipa-prop.c (ipcp_grow_transformations_if_necessary): Renamed
> 	to ...
> 	(ipcp_transformation_initialize): ... this.
> 	(ipa_set_node_agg_value_chain):
> 	(ipa_node_params_t::duplicate): Use ipcp_transformation_sum.
> 	(write_ipcp_transformation_info): Likewise.
> 	(read_ipcp_transformation_info): Likewise.
> 	(ipcp_update_bits): Likewise.
> 	(ipcp_update_vr): Likewise.
> 	(ipcp_transform_function): Likewise.
> 	* ipa-prop.h: Rename ipcp_transformation_summary to
> 	ipcp_transformation.
> 	(class ipcp_transformation_t): New function summary.
> 	(ipcp_get_transformation_summary): Use ipcp_transformation_sum.
> 	(ipa_get_agg_replacements_for_node): Likewise.

I will delegate this one to Martin Jambor. it looks fine to me in general except again
I would like to use get() on places we do not create new info.

Honza


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