diff options
author | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-01-29 22:11:09 +0000 |
---|---|---|
committer | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-01-29 22:11:09 +0000 |
commit | d922644ae1702b8554ddfbc5c76969f825065db2 (patch) | |
tree | f1ec78e8399786f4f666db63dd8c402e57174ae6 /gcc/sched-rgn.c | |
parent | c0a5a33abd00f4d14fa0a9b055b681723967de3c (diff) | |
download | gcc-d922644ae1702b8554ddfbc5c76969f825065db2.tar.gz |
* sched-int.h (struct deps_reg): Add uses_length, clobbers_length.
* sched-rgn.c (propagate_deps): Update them.
* sched-deps.c (sched_analyze_insn): Update them. Flush the
clobbers list when either gets too long.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49328 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/sched-rgn.c')
-rw-r--r-- | gcc/sched-rgn.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/sched-rgn.c b/gcc/sched-rgn.c index b7193aaf604..e5a241b6327 100644 --- a/gcc/sched-rgn.c +++ b/gcc/sched-rgn.c @@ -2427,6 +2427,8 @@ propagate_deps (bb, pred_deps) succ_rl->sets = concat_INSN_LIST (pred_rl->sets, succ_rl->sets); succ_rl->clobbers = concat_INSN_LIST (pred_rl->clobbers, succ_rl->clobbers); + succ_rl->uses_length += pred_rl->uses_length; + succ_rl->clobbers_length += pred_rl->clobbers_length; }); IOR_REG_SET (&succ_deps->reg_last_in_use, &pred_deps->reg_last_in_use); |