aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorBernd Schmidt <bernd.schmidt@analog.com>2010-01-13 20:00:03 +0000
committerBernd Schmidt <bernds@gcc.gnu.org>2010-01-13 20:00:03 +0000
commit6cca15ea851ee526607e6e0ed51d48a40a9ec9df (patch)
tree0ff3fe97d76648f0aef0504354aa2e35e9b72352 /gcc
parent84fb8ff5117d0436070f806a4bb2b28532c4cca7 (diff)
downloadgcc-6cca15ea851ee526607e6e0ed51d48a40a9ec9df.zip
gcc-6cca15ea851ee526607e6e0ed51d48a40a9ec9df.tar.gz
gcc-6cca15ea851ee526607e6e0ed51d48a40a9ec9df.tar.bz2
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
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog3
-rw-r--r--gcc/config/bfin/bfin.c6
2 files changed, 8 insertions, 1 deletions
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 <mjambor@suse.cz>
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