SMS - Pass the actual schedulable rows to compute_split_row
From-SVN: r145333
This commit is contained in:
parent
b5e3caf232
commit
8de9b877e7
@ -1,3 +1,8 @@
|
||||
2009-03-31 Ayal Zaks <zaks@il.ibm.com>
|
||||
|
||||
* modulo-sched.c (sms_schedule_by_order): Pass the actual
|
||||
schedulable rows to compute_split_row.
|
||||
|
||||
2009-03-31 Ben Elliston <bje@au.ibm.com>
|
||||
|
||||
PR target/31635
|
||||
|
@ -1832,11 +1832,14 @@ sms_schedule_by_order (ddg_ptr g, int mii, int maxii, int *nodes_order)
|
||||
}
|
||||
|
||||
num_splits++;
|
||||
/* The scheduling window is exclusive of 'end'
|
||||
whereas compute_split_window() expects an inclusive,
|
||||
ordered range. */
|
||||
if (step == 1)
|
||||
split_row = compute_split_row (sched_nodes, start, end,
|
||||
split_row = compute_split_row (sched_nodes, start, end - 1,
|
||||
ps->ii, u_node);
|
||||
else
|
||||
split_row = compute_split_row (sched_nodes, end, start,
|
||||
split_row = compute_split_row (sched_nodes, end + 1, start,
|
||||
ps->ii, u_node);
|
||||
|
||||
ps_insert_empty_row (ps, split_row, sched_nodes);
|
||||
|
Loading…
x
Reference in New Issue
Block a user