Commit b3de7382 by Jan Hubicka Committed by Jan Hubicka

toplev.c (rest_of_compilation): Apply fotgotten hunk of track scheduling patch.


	* toplev.c (rest_of_compilation):  Apply fotgotten hunk
	of track scheduling patch.

From-SVN: r63298
parent 48e082b9
Sat Feb 22 20:22:19 CET 2003 Jan Hubicka <jh@suse.cz>
* toplev.c (rest_of_compilation): Apply fotgotten hunk
of track scheduling patch.
Sat Feb 22 19:29:28 CET 2003 Jan Hubicka <jh@suse.cz>
* config/linux.h (TARGET_HAS_F_SETLKW): Define.
......
......@@ -3575,7 +3575,7 @@ rest_of_compilation (decl)
&& flag_reorder_blocks)
{
reorder_basic_blocks ();
cleanup_cfg (CLEANUP_EXPENSIVE);
cleanup_cfg (CLEANUP_EXPENSIVE | CLEANUP_POST_REGSTACK);
}
}
......@@ -3584,26 +3584,6 @@ rest_of_compilation (decl)
ggc_collect ();
#endif
if (optimize > 0)
{
timevar_push (TV_REORDER_BLOCKS);
open_dump_file (DFI_bbro, decl);
/* Last attempt to optimize CFG, as scheduling, peepholing and insn
splitting possibly introduced more crossjumping opportunities.
Except that we can't actually run crossjumping without running
another DCE pass, which we can't do after reg-stack. */
cleanup_cfg (CLEANUP_EXPENSIVE | CLEANUP_POST_REGSTACK
| (flag_crossjumping ? CLEANUP_CROSSJUMP : 0));
if (flag_reorder_blocks)
{
reorder_basic_blocks ();
cleanup_cfg (CLEANUP_EXPENSIVE | CLEANUP_POST_REGSTACK);
}
close_dump_file (DFI_bbro, print_rtl_with_bb, insns);
timevar_pop (TV_REORDER_BLOCKS);
}
compute_alignments ();
/* CFG is no longer maintained up-to-date. */
......
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