Re: [PATCH] Get rid of optimize_size use in estimate_move_cost

2014-07-23 Thread Jan Hubicka
Hi, > > The following patch makes us use profile-guided size/speed metrics > for MOVE_RATIO in estimate_move_cost. The estimate_num_insn > user update is obvious but the rest not exactly - I've choosen > size metrics everywhere but in ipa-cp.c:estimate_local_effects > (because there the result is

[PATCH] Get rid of optimize_size use in estimate_move_cost

2014-07-23 Thread Richard Biener
The following patch makes us use profile-guided size/speed metrics for MOVE_RATIO in estimate_move_cost. The estimate_num_insn user update is obvious but the rest not exactly - I've choosen size metrics everywhere but in ipa-cp.c:estimate_local_effects (because there the result is used in some ti