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 GCC]Compute, cache and use cost of auto-increment rtx patterns in IVOPT


On 11/04/2013 04:31 AM, bin.cheng wrote:
> 2013-11-01  Bin Cheng  <bin.cheng@arm.com>
> 
> 	* tree-ssa-loop-ivopts.c (enum ainc_type): New.
> 	(address_cost_data): New field.
> 	(get_address_cost): Compute auto-increment rtx cost in ainc_costs.
> 	Use ainc_costs for auto-increment rtx patterns.
> 	Cleanup TWS.

I think this is fine. I'd just like to see AINC_NUM gone and its use
replaced by AIC_NONE, we don't really need two separate enum codes for that.


Bernd


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