+2012-05-10 Vladimir Makarov <vmakarov@redhat.com>
+
+ PR rtl-optimization/53125
+ * ira.c (ira): Call find_moveable_pseudos or
+ move_unallocated_pseudos if only ira_conflicts_p is true.
+
2012-05-10 Uros Bizjak <ubizjak@gmail.com>
* config/i386/i386.md (*movoi_internal_avx): Handle
}
allocated_reg_info_size = max_reg_num ();
- find_moveable_pseudos ();
+
+ /* It is not worth to do such improvement when we use a simple
+ allocation because of -O0 usage or because the function is too
+ big. */
+ if (ira_conflicts_p)
+ find_moveable_pseudos ();
max_regno_before_ira = max_reg_num ();
ira_setup_eliminable_regset ();
max_regno * sizeof (struct ira_spilled_reg_stack_slot));
}
allocate_initial_values (reg_equivs);
- move_unallocated_pseudos ();
+
+ /* See comment for find_moveable_pseudos call. */
+ if (ira_conflicts_p)
+ move_unallocated_pseudos ();
}
static void