haifa-sched.c (schedule_insns): Don't recompute reg info after reload.

* haifa-sched.c (schedule_insns): Don't recompute reg info
        after reload.

From-SVN: r31675
This commit is contained in:
Richard Henderson 2000-01-28 13:54:39 -08:00 committed by Richard Henderson
parent ae20388c7d
commit 47e6ea667d
2 changed files with 7 additions and 1 deletions

View file

@ -4,6 +4,9 @@
* flow.c (mark_regs_live_at_end): Likewise. Force BLKmode
FUNCTION_VALUE result to DECL_RESULT's mode.
* haifa-sched.c (schedule_insns): Don't recompute reg info
after reload.
2000-01-28 Zack Weinberg <zack@wolery.cumb.org>
* configure.in: Make --enable-cpplib the default.

View file

@ -6975,8 +6975,11 @@ schedule_insns (dump_file)
SET_BIT (blocks, rgn_bb_table[RGN_BLOCKS (rgn)]);
RESET_BIT (large_region_blocks, rgn_bb_table[RGN_BLOCKS (rgn)]);
/* Don't update reg info after reload, since that affects
regs_ever_live, which should not change after reload. */
update_life_info (blocks, UPDATE_LIFE_LOCAL,
PROP_DEATH_NOTES | PROP_REG_INFO);
(reload_completed ? PROP_DEATH_NOTES
: PROP_DEATH_NOTES | PROP_REG_INFO));
/* In the single block case, the count of registers that died should
not have changed during the schedule. */