Re: [2/7] Tidy IRA move costs

2012-05-30 Thread Vladimir Makarov
On 05/30/2012 02:21 PM, Richard Sandiford wrote: The only part of IRA that uses move_costs directly is copy_cost. It looks like this might be an oversight, since all related costs already use ira_register_move_cost. move_cost was from code which was part or regclass before. As mentioned in the

[2/7] Tidy IRA move costs

2012-05-30 Thread Richard Sandiford
The only part of IRA that uses move_costs directly is copy_cost. It looks like this might be an oversight, since all related costs already use ira_register_move_cost. As mentioned in the covering message, the two arrays are usually the same anyway. The only hitch is that we have: if (!move