Commit 6cca15ea by Bernd Schmidt Committed by Bernd Schmidt

bfin.c (bfin_reorg): Call run_selective_scheduling rather than schedule_insns if…

bfin.c (bfin_reorg): Call run_selective_scheduling rather than schedule_insns if the pass is enabled.

	* config/bfin/bfin.c (bfin_reorg): Call run_selective_scheduling
	rather than schedule_insns if the pass is enabled.

From-SVN: r155867
parent 84fb8ff5
...@@ -4,6 +4,9 @@ ...@@ -4,6 +4,9 @@
libgcc-std.ver. Add entries for ___smulsi3_highpart and libgcc-std.ver. Add entries for ___smulsi3_highpart and
___umulsi3_highpart. ___umulsi3_highpart.
* config/bfin/bfin.c (bfin_reorg): Call run_selective_scheduling
rather than schedule_insns if the pass is enabled.
2010-01-13 Martin Jambor <mjambor@suse.cz> 2010-01-13 Martin Jambor <mjambor@suse.cz>
PR tree-optimization/42704 PR tree-optimization/42704
......
...@@ -5499,7 +5499,11 @@ bfin_reorg (void) ...@@ -5499,7 +5499,11 @@ bfin_reorg (void)
add_sched_insns_for_speculation (); add_sched_insns_for_speculation ();
timevar_push (TV_SCHED2); timevar_push (TV_SCHED2);
schedule_insns (); if (flag_selective_scheduling2
&& !maybe_skip_selective_scheduling ())
run_selective_scheduling ();
else
schedule_insns ();
timevar_pop (TV_SCHED2); timevar_pop (TV_SCHED2);
/* Examine the schedule and insert nops as necessary for 64-bit parallel /* Examine the schedule and insert nops as necessary for 64-bit parallel
......
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