Commit 7399257b by Richard Henderson Committed by Richard Henderson

haifa-sched.c (sched_analyze_1): Fix last change -- add clobber dependancies to…

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
parent 24883a4a
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.
......
......@@ -3392,7 +3392,11 @@ sched_analyze_1 (x, insn)
add_dependence (insn, XEXP (u, 0), REG_DEP_OUTPUT);
if (code == SET)
SET_REGNO_REG_SET (reg_pending_sets, regno);
{
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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment