haifa-sched.c (sched_analyze_1): Fix last change -- add clobber dependancies to sets in the non-hard-reg case too.

* haifa-sched.c (sched_analyze_1): Fix last change -- add clobber
        dependancies to sets in the non-hard-reg case too.

From-SVN: r25648
This commit is contained in:
Richard Henderson 1999-03-08 15:45:12 -08:00 committed by Richard Henderson
parent 24883a4a12
commit 7399257b1e
2 changed files with 10 additions and 1 deletions

View File

@ -1,3 +1,8 @@
Mon Mar 8 23:43:47 1999 Richard Henderson <rth@cygnus.com>
* haifa-sched.c (sched_analyze_1): Fix last change -- add clobber
dependancies to sets in the non-hard-reg case too.
Mon Mar 8 18:55:21 1999 Marc Espie <espie@cvs.openbsd.org>
* config/openbsd.h (HANDLE_SYSV_PRAGMA): Define.

View File

@ -3392,7 +3392,11 @@ sched_analyze_1 (x, insn)
add_dependence (insn, XEXP (u, 0), REG_DEP_OUTPUT);
if (code == SET)
{
for (u = reg_last_clobbers[regno]; u; u = XEXP (u, 1))
add_dependence (insn, XEXP (u, 0), REG_DEP_OUTPUT);
SET_REGNO_REG_SET (reg_pending_sets, regno);
}
else
SET_REGNO_REG_SET (reg_pending_clobbers, regno);