From: bernds Date: Wed, 13 Jan 2010 20:00:03 +0000 (+0000) Subject: * config/bfin/bfin.c (bfin_reorg): Call run_selective_scheduling X-Git-Tag: upstream/4.9.2~31511 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f5a15437493a9a32081228576995d5e6aae0cd0c;p=platform%2Fupstream%2Flinaro-gcc.git * config/bfin/bfin.c (bfin_reorg): Call run_selective_scheduling rather than schedule_insns if the pass is enabled. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155867 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 11ddce7..6b2df35 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -4,6 +4,9 @@ libgcc-std.ver. Add entries for ___smulsi3_highpart and ___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 PR tree-optimization/42704 diff --git a/gcc/config/bfin/bfin.c b/gcc/config/bfin/bfin.c index 32d72ab..9635d5a 100644 --- a/gcc/config/bfin/bfin.c +++ b/gcc/config/bfin/bfin.c @@ -5499,7 +5499,11 @@ bfin_reorg (void) add_sched_insns_for_speculation (); timevar_push (TV_SCHED2); - schedule_insns (); + if (flag_selective_scheduling2 + && !maybe_skip_selective_scheduling ()) + run_selective_scheduling (); + else + schedule_insns (); timevar_pop (TV_SCHED2); /* Examine the schedule and insert nops as necessary for 64-bit parallel