haifa-sched.c (schedule_insns): Do not remove inter-block dependencies anymore.

* haifa-sched.c (schedule_insns): Do not remove inter-block
        dependencies anymore.

From-SVN: r30049
This commit is contained in:
Jeffrey A Law 1999-10-17 03:50:21 +00:00 committed by Jeff Law
parent 6c413a50e6
commit e75f2df7e5
2 changed files with 5 additions and 34 deletions

View File

@ -1,3 +1,8 @@
Sat Oct 16 21:50:28 1999 Jeffrey A Law (law@cygnus.com)
* haifa-sched.c (schedule_insns): Do not remove inter-block
dependencies anymore.
Sat Oct 16 11:19:52 1999 Richard Henderson <rth@cygnus.com>
* i386/t-cygwin (winnt.o): Depend on RTL_H and TREE_H.

View File

@ -6845,40 +6845,6 @@ schedule_insns (dump_file)
break;
}
/* After reload, remove inter-blocks dependences computed before reload. */
if (reload_completed)
{
int b;
rtx insn;
for (b = 0; b < n_basic_blocks; b++)
for (insn = BLOCK_HEAD (b);; insn = NEXT_INSN (insn))
{
rtx link, prev;
if (GET_RTX_CLASS (GET_CODE (insn)) == 'i')
{
prev = NULL_RTX;
link = LOG_LINKS (insn);
while (link)
{
rtx x = XEXP (link, 0);
if (INSN_BLOCK (x) != b)
{
remove_dependence (insn, x);
link = prev ? XEXP (prev, 1) : LOG_LINKS (insn);
}
else
prev = link, link = XEXP (prev, 1);
}
}
if (insn == BLOCK_END (b))
break;
}
}
nr_regions = 0;
rgn_table = (region *) alloca ((n_basic_blocks) * sizeof (region));
rgn_bb_table = (int *) alloca ((n_basic_blocks) * sizeof (int));