From b6a753667ad2f372afc8e8d8bacbcc8fe47556cf Mon Sep 17 00:00:00 2001 From: hagog Date: Sun, 3 Apr 2005 09:27:07 +0000 Subject: 2005-03-31 Mostafa Hagog * cfg.c (clear_bb_flags): Don't clear BB_DISABLE_SCHEDULE. * modulo-sched.c (undo_replace_buff_elem): New structure. (kernel_number_of_cycles, ps_unschedule_node, undo_generate_reg_moves,free_undo_replace_buff, undo_permute_partial_schedule, loop_single_full_bb_p, SIMPLE_SMS_LOOP_P, loop_canon_p, canon_loop, build_loops_structure, get_sched_window): New. (generate_reg_moves): Return undo_replace_buff_elem and other fixes. (generate_prolog_epilog): Remove old loop versioning. (sms_schedule): Use loop information and loop_version. (sms_schedule_by_order): Split part of it to get_sched_window. * passes.c (rest_of_handle_sms): call cfg_layout_initialize cfg_layout_finalize and free_dominance_info before/after SMS. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97484 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/cfg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gcc/cfg.c') diff --git a/gcc/cfg.c b/gcc/cfg.c index c0e38f2910f..b8dccb080f5 100644 --- a/gcc/cfg.c +++ b/gcc/cfg.c @@ -461,7 +461,7 @@ clear_bb_flags (void) basic_block bb; FOR_BB_BETWEEN (bb, ENTRY_BLOCK_PTR, NULL, next_bb) - bb->flags = BB_PARTITION (bb); + bb->flags = BB_PARTITION (bb) | (bb->flags & BB_DISABLE_SCHEDULE); } /* Check the consistency of profile information. We can't do that -- cgit v1.2.1