Commit a060ed03 authored by amonakov's avatar amonakov

* sel-sched.c (sel_region_init): Move call to

	sel_setup_region_sched_flags after setup_current_loop_nest.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@172185 138bc75d-0d04-0410-961f-82ee72b054a4
parent c15d7785
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>
PR rtl-optimization/48272
* sched-deps.c (setup_insn_reg_pressure_info): Export and rename to
init_insn_reg_pressure_info. Adjust a caller.
* sched-int.h (init_insn_reg_pressure_info): Declare.
......
......@@ -6868,8 +6868,6 @@ sel_region_init (int rgn)
if (current_region_empty_p ())
return true;
sel_setup_region_sched_flags ();
bbs = VEC_alloc (basic_block, heap, current_nr_blocks);
for (i = 0; i < current_nr_blocks; i++)
......@@ -6880,6 +6878,8 @@ sel_region_init (int rgn)
if (flag_sel_sched_pipelining)
setup_current_loop_nest (rgn, &bbs);
sel_setup_region_sched_flags ();
/* Initialize luids and dependence analysis which both sel-sched and haifa
need. */
sched_init_luids (bbs, NULL, NULL, NULL);
......
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