Commit 761a8eb7 by Vladimir Makarov Committed by Vladimir Makarov

ira.c (setup_class_translate_array): Use aclass instead of cl for classes not…

ira.c (setup_class_translate_array): Use aclass instead of cl for classes not fully covered by allocno classes.

2013-08-13  Vladimir Makarov  <vmakarov@redhat.com>

	* ira.c (setup_class_translate_array): Use aclass instead of cl
	for classes not fully covered by allocno classes.

From-SVN: r201699
parent 4029a5e0
2013-08-13 Vladimir Makarov <vmakarov@redhat.com>
* ira.c (setup_class_translate_array): Use aclass instead of cl
for classes not fully covered by allocno classes.
2013-08-13 Jakub Jelinek <jakub@redhat.com>
PR tree-optimization/57661
......
......@@ -1111,8 +1111,8 @@ setup_class_translate_array (enum reg_class *class_translate,
min_cost = INT_MAX;
for (mode = 0; mode < MAX_MACHINE_MODE; mode++)
{
cost = (ira_memory_move_cost[mode][cl][0]
+ ira_memory_move_cost[mode][cl][1]);
cost = (ira_memory_move_cost[mode][aclass][0]
+ ira_memory_move_cost[mode][aclass][1]);
if (min_cost > cost)
min_cost = cost;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment