diff options
author | kenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-01-18 13:14:34 +0000 |
---|---|---|
committer | kenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-01-18 13:14:34 +0000 |
commit | 216b2683e3fd1871973269dc54ef864003104389 (patch) | |
tree | a7cc3b76930fd2143f70721950dcf585e13f0528 /gcc/sched-deps.c | |
parent | 79e62eba008601b3e6627ccbeb0a6516b3dc1fb7 (diff) | |
download | gcc-216b2683e3fd1871973269dc54ef864003104389.tar.gz |
* flow.c (mark_set_1, case PARALLEL): Now case; rework to allow
entry to be EXPR_LIST.
* rtlanal.c (reg_overlap_mentioned_p): Allow PARALLEL in SET to
be an EXPR_LIST (but not null, which other code doesn't allow).
(note_stores): Properly handle PARALLEL in SET.
Recursively call for top-level PARALLEL.
* sched-deps.c (sched_analyze_1): Handle EXPR_LIST in PARALLEL in SET.
* sched-rgn.c (check_live_1, update_live_1): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39118 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/sched-deps.c')
-rw-r--r-- | gcc/sched-deps.c | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/gcc/sched-deps.c b/gcc/sched-deps.c index 67ea68bedf3..9b566a0ec26 100644 --- a/gcc/sched-deps.c +++ b/gcc/sched-deps.c @@ -551,12 +551,20 @@ sched_analyze_1 (deps, x, insn) if (dest == 0) return; - if (GET_CODE (dest) == PARALLEL - && GET_MODE (dest) == BLKmode) + if (GET_CODE (dest) == PARALLEL && GET_MODE (dest) == BLKmode) { register int i; + for (i = XVECLEN (dest, 0) - 1; i >= 0; i--) - sched_analyze_1 (deps, XVECEXP (dest, 0, i), insn); + { + rtx reg = XVECEXP (dest, 0, i); + + if (GET_CODE (reg) == EXPR_LIST) + reg = XEXP (reg, 0); + + sched_analyze_1 (deps, reg, insn); + } + if (GET_CODE (x) == SET) sched_analyze_2 (deps, SET_SRC (x), insn); return; |