Commit 97726216 by Richard Kenner Committed by Richard Kenner

toplev.c (rest_of_compilation): Account for time in optimize_mode_switching.

	* toplev.c (rest_of_compilation): Account for time in
	optimize_mode_switching.

From-SVN: r32232
parent e4884e95
Mon Feb 28 07:03:27 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> Mon Feb 28 07:03:27 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
* toplev.c (rest_of_compilation): Account for time in
optimize_mode_switching.
* jump.c (jump_optimize_1): Don't call delete_barrier_successors * jump.c (jump_optimize_1): Don't call delete_barrier_successors
if only marking labels. if only marking labels.
......
...@@ -3315,8 +3315,8 @@ rest_of_compilation (decl) ...@@ -3315,8 +3315,8 @@ rest_of_compilation (decl)
TIMEVAR (combine_time, TIMEVAR (combine_time,
{ {
rebuild_jump_labels_after_combine = rebuild_jump_labels_after_combine
combine_instructions (insns, max_reg_num ()); = combine_instructions (insns, max_reg_num ());
}); });
/* Combining insns may have turned an indirect jump into a /* Combining insns may have turned an indirect jump into a
...@@ -3361,15 +3361,15 @@ rest_of_compilation (decl) ...@@ -3361,15 +3361,15 @@ rest_of_compilation (decl)
ggc_collect (); ggc_collect ();
} }
/* Print function header into sched dump now
because doing the sched analysis makes some of the dump. */
if (optimize && n_basic_blocks) if (optimize && n_basic_blocks)
{ {
optimize_mode_switching (NULL_PTR); TIMEVAR (gcse_time, optimize_mode_switching (NULL_PTR));
} }
#ifdef INSN_SCHEDULING #ifdef INSN_SCHEDULING
/* Print function header into sched dump now
because doing the sched analysis makes some of the dump. */
if (optimize > 0 && flag_schedule_insns) if (optimize > 0 && flag_schedule_insns)
{ {
if (sched_dump) if (sched_dump)
......
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