sel-sched.c (sel_region_init): Move call to sel_setup_region_sched_flags after setup_current_loop_nest.
* sel-sched.c (sel_region_init): Move call to sel_setup_region_sched_flags after setup_current_loop_nest. From-SVN: r172185
This commit is contained in:
parent
19ac78921e
commit
9d40778b0c
@ -1,7 +1,11 @@
|
|||||||
|
2011-04-08 Alexander Monakov <amonakov@ispras.ru>
|
||||||
|
|
||||||
|
* sel-sched.c (sel_region_init): Move call to
|
||||||
|
sel_setup_region_sched_flags after setup_current_loop_nest.
|
||||||
|
|
||||||
2011-04-08 Andrey Belevantsev <abel@ispras.ru>
|
2011-04-08 Andrey Belevantsev <abel@ispras.ru>
|
||||||
|
|
||||||
PR rtl-optimization/48272
|
PR rtl-optimization/48272
|
||||||
|
|
||||||
* sched-deps.c (setup_insn_reg_pressure_info): Export and rename to
|
* sched-deps.c (setup_insn_reg_pressure_info): Export and rename to
|
||||||
init_insn_reg_pressure_info. Adjust a caller.
|
init_insn_reg_pressure_info. Adjust a caller.
|
||||||
* sched-int.h (init_insn_reg_pressure_info): Declare.
|
* sched-int.h (init_insn_reg_pressure_info): Declare.
|
||||||
|
@ -6868,8 +6868,6 @@ sel_region_init (int rgn)
|
|||||||
if (current_region_empty_p ())
|
if (current_region_empty_p ())
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
sel_setup_region_sched_flags ();
|
|
||||||
|
|
||||||
bbs = VEC_alloc (basic_block, heap, current_nr_blocks);
|
bbs = VEC_alloc (basic_block, heap, current_nr_blocks);
|
||||||
|
|
||||||
for (i = 0; i < current_nr_blocks; i++)
|
for (i = 0; i < current_nr_blocks; i++)
|
||||||
@ -6880,6 +6878,8 @@ sel_region_init (int rgn)
|
|||||||
if (flag_sel_sched_pipelining)
|
if (flag_sel_sched_pipelining)
|
||||||
setup_current_loop_nest (rgn, &bbs);
|
setup_current_loop_nest (rgn, &bbs);
|
||||||
|
|
||||||
|
sel_setup_region_sched_flags ();
|
||||||
|
|
||||||
/* Initialize luids and dependence analysis which both sel-sched and haifa
|
/* Initialize luids and dependence analysis which both sel-sched and haifa
|
||||||
need. */
|
need. */
|
||||||
sched_init_luids (bbs, NULL, NULL, NULL);
|
sched_init_luids (bbs, NULL, NULL, NULL);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user