FW: [PATCH GCC]Relax the probability condition in CE pass when optimizing for code size

Eric Botcazou ebotcazou@adacore.com
Fri Jul 12 15:42:00 GMT 2013


> 2013-07-12  Bin Cheng  <bin.cheng@arm.com>
> 
> 	* ifcvt.c (ifcvt_after_combine): New static variable.
> 	(cheap_bb_rtx_cost_p): Set scale to REG_BR_PROB_BASE when optimizing
> 	for size.
> 	(if_convert): New parameter after_combine.  Set ifcvt_after_combine.
> 	(rest_of_handle_if_conversion, rest_of_handle_if_after_combine,
> 	rest_of_handle_if_after_reload): Pass new argument for if_convert.

OK for mainline modulo the missing 'e' at the end of "interfere".

-- 
Eric Botcazou



More information about the Gcc-patches mailing list