r221763 - in /trunk/gcc: ChangeLog doc/invoke.t...
hubicka@gcc.gnu.org
hubicka@gcc.gnu.org
Sun Mar 29 15:38:00 GMT 2015
Author: hubicka
Date: Sun Mar 29 15:38:52 2015
New Revision: 221763
URL: https://gcc.gnu.org/viewcvs?rev=221763&root=gcc&view=rev
Log:
PR ipa/65478
* params.def (PARAM_IPA_CP_RECURSION_PENALTY) : New.
(PARAM_IPA_CP_SINGLE_CALL_PENALTY): Likewise.
* ipa-prop.h (ipa_node_params): New flags node_within_scc and
node_calling_single_call.
* ipa-cp.c (count_callers): New function.
(set_single_call_flag): Likewise.
(initialize_node_lattices): Count callers and set single_flag_call if
necessary.
(incorporate_penalties): New function.
(good_cloning_opportunity_p): Use it, dump new flags.
(propagate_constants_topo): Set node_within_scc flag if appropriate.
* doc/invoke.texi (ipa-cp-recursion-penalty,
ipa-cp-single-call-pentalty): Document.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/doc/invoke.texi
trunk/gcc/ipa-cp.c
trunk/gcc/ipa-prop.h
trunk/gcc/params.def
More information about the Gcc-cvs
mailing list