diff options
author | rsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-04-26 15:49:13 +0000 |
---|---|---|
committer | rsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-04-26 15:49:13 +0000 |
commit | 11189c7a936c0075b867159661da40a0a985d307 (patch) | |
tree | 0b3d9999b8df0a4c318f7b17e4768bac0e113eb7 /gcc/sched-deps.c | |
parent | dc5de0f49cbb4d981b805c38550537a0294c8ae1 (diff) | |
download | gcc-11189c7a936c0075b867159661da40a0a985d307.tar.gz |
gcc/
* common.opt (fsched-pressure-algorithm=): New option.
* flag-types.h (sched_pressure_algorithm): New enum.
* sched-int.h (sched_pressure_p): Replace with...
(sched_pressure): ...this new variable.
* haifa-sched.c (sched_pressure_p): Replace with...
(sched_pressure): ...this new variable.
(sched_regno_pressure_class, rank_for_schedule, ready_sort)
(update_reg_and_insn_max_reg_pressure, schedule_insn)
(debug_ready_list, prune_ready_list, schedule_block, sched_init)
(sched_finish, fix_tick_ready, haifa_init_insn): Update accordingly.
* sched-deps.c (init_insn_reg_pressure_info): Likewise.
(sched_analyze_insn): Likewise.
* sched-rgn.c (schedule_region): Likewise.
* config/m68k/m68k.c (m68k_sched_variable_issue): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186881 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/sched-deps.c')
-rw-r--r-- | gcc/sched-deps.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/sched-deps.c b/gcc/sched-deps.c index 33a6996fe4f..5bc329fc7da 100644 --- a/gcc/sched-deps.c +++ b/gcc/sched-deps.c @@ -2168,7 +2168,7 @@ init_insn_reg_pressure_info (rtx insn) static struct reg_pressure_data *pressure_info; rtx link; - gcc_assert (sched_pressure_p); + gcc_assert (sched_pressure == SCHED_PRESSURE_WEIGHTED); if (! INSN_P (insn)) return; @@ -2951,7 +2951,7 @@ sched_analyze_insn (struct deps_desc *deps, rtx x, rtx insn) || (NONJUMP_INSN_P (insn) && control_flow_insn_p (insn))) reg_pending_barrier = MOVE_BARRIER; - if (sched_pressure_p) + if (sched_pressure == SCHED_PRESSURE_WEIGHTED) { setup_insn_reg_uses (deps, insn); init_insn_reg_pressure_info (insn); |