ira-color.c (assign_hard_reg): Honor LOCAL_REGNO in cost computation for prologue/epilogue.
* ira-color.c (assign_hard_reg): Honor LOCAL_REGNO in cost computation for prologue/epilogue. From-SVN: r171154
This commit is contained in:
parent
34c3ef054e
commit
2a3d7659c5
@ -1,3 +1,8 @@
|
||||
2011-03-18 Georg-Johann Lay <avr@gjlay.de>
|
||||
|
||||
* ira-color.c (assign_hard_reg): Honor LOCAL_REGNO in cost
|
||||
computation for prologue/epilogue.
|
||||
|
||||
2011-03-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
||||
|
||||
* Makefile.in (check-consistency): Remove.
|
||||
@ -35,7 +40,7 @@
|
||||
(--with-plugin-ld): Document.
|
||||
* doc/invoke.texi (-fuse-linker-plugin): Clarify.
|
||||
|
||||
2011-03-16 Andrew Pinski <pinskia@gmail.com>
|
||||
2011-03-18 Andrew Pinski <pinskia@gmail.com>
|
||||
|
||||
PR middle-end/47790
|
||||
* expr.c (optimize_bitfield_assignment_op): Revamp to work
|
||||
|
@ -591,7 +591,8 @@ assign_hard_reg (ira_allocno_t a, bool retry_p)
|
||||
full_cost = full_costs[i];
|
||||
#ifndef HONOR_REG_ALLOC_ORDER
|
||||
if (! allocated_hardreg_p[hard_regno]
|
||||
&& ira_hard_reg_not_in_set_p (hard_regno, mode, call_used_reg_set))
|
||||
&& ira_hard_reg_not_in_set_p (hard_regno, mode, call_used_reg_set)
|
||||
&& !LOCAL_REGNO (hard_regno))
|
||||
/* We need to save/restore the hard register in
|
||||
epilogue/prologue. Therefore we increase the cost. */
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user