diff options
author | bernds <bernds@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-10-08 11:26:16 +0000 |
---|---|---|
committer | bernds <bernds@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-10-08 11:26:16 +0000 |
commit | 0a15667cc2233f590e022b0faacd103ec9cb041a (patch) | |
tree | 189eaf3a2d0889ab0f7111d7f11b37bda6412bc9 /gcc/sched-ebb.c | |
parent | ce3b3ea13be7ec1a389f50ac14c5a38472178d79 (diff) | |
download | gcc-0a15667cc2233f590e022b0faacd103ec9cb041a.tar.gz |
* sched-int.h (schedule_block): Adjust declaration.
* sched-rgn.c (bb_state_array, bb_state): New static variables.
(sched_rgn_init): Initialize them.
(sched_rgn_free): Free them.
(schedule_region): Save scheduling state for future blocks, and
pass such state to schedule_block.
* params.def (PARAM_SCHED_STATE_EDGE_PROB_CUTOFF): New.
* doc/invoke.texi (--param): Document it.
* haifa-sched.c (schedule_block): New arg init_state. Use it to
initialize state if nonnull. All callers changed.
Call advance_one_cycle after scheduling.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@192203 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/sched-ebb.c')
-rw-r--r-- | gcc/sched-ebb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/sched-ebb.c b/gcc/sched-ebb.c index 372d1081b4f..9e524f9f13e 100644 --- a/gcc/sched-ebb.c +++ b/gcc/sched-ebb.c @@ -544,7 +544,7 @@ schedule_ebb (rtx head, rtx tail, bool modulo_scheduling) /* Make ready list big enough to hold all the instructions from the ebb. */ sched_extend_ready_list (rgn_n_insns); - success = schedule_block (&target_bb); + success = schedule_block (&target_bb, NULL); gcc_assert (success || modulo_scheduling); /* Free ready list. */ |