Commit 2a6a0d80 by Bernd Schmidt Committed by Bernd Schmidt

* sched-ebb.c (schedule_ebbs): Honor the BB_DISABLE_SCHEDULE flag.

From-SVN: r171842
parent ec4efea9
......@@ -13,6 +13,8 @@
* haifa-sched.c (queue_insn): New arg REASON. All callers
changed. Print it in debugging output.
* sched-ebb.c (schedule_ebbs): Honor the BB_DISABLE_SCHEDULE flag.
2011-04-01 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
* config/spu/t-spu-elf (dp-bit.c): Use > instead of >>.
......
/* Instruction scheduling pass.
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998,
1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011
Free Software Foundation, Inc.
Contributed by Michael Tiemann (tiemann@cygnus.com) Enhanced by,
and currently maintained by, Jim Wilson (wilson@cygnus.com)
......@@ -579,6 +579,9 @@ schedule_ebbs (void)
{
rtx head = BB_HEAD (bb);
if (bb->flags & BB_DISABLE_SCHEDULE)
continue;
for (;;)
{
edge e;
......@@ -591,6 +594,8 @@ schedule_ebbs (void)
break;
if (e->probability <= probability_cutoff)
break;
if (e->dest->flags & BB_DISABLE_SCHEDULE)
break;
bb = bb->next_bb;
}
......
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