diff options
author | Richard Sandiford <rdsandiford@googlemail.com> | 2012-05-31 05:27:03 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@gcc.gnu.org> | 2012-05-31 05:27:03 +0000 |
commit | f508f827b17ecd4673ef9d1c97dca9d1e3b6f17f (patch) | |
tree | 919171bcd0413b3bddae2b9e013c5505e01059d2 /gcc/ira-build.c | |
parent | 2e14fbda6cba933cb4ceaaac8cc092d5f8beb01c (diff) | |
download | gcc-f508f827b17ecd4673ef9d1c97dca9d1e3b6f17f.zip gcc-f508f827b17ecd4673ef9d1c97dca9d1e3b6f17f.tar.gz gcc-f508f827b17ecd4673ef9d1c97dca9d1e3b6f17f.tar.bz2 |
ira.h (target_ira): Delete x_ira_available_class_regs.
gcc/
* ira.h (target_ira): Delete x_ira_available_class_regs.
(ira_available_class_regs): Delete.
* ira.c (setup_available_class_regs): Delete.
(setup_alloc_classes): Don't call it.
(setup_pressure_classes): Use ira_class_hard_regs_num instead of
ira_available_class_regs.
* haifa-sched.c (print_curr_reg_pressure, setup_insn_reg_pressure_info)
(model_spill_cost): Likewise.
* ira-build.c (low_pressure_loop_node_p): Likewise.
* ira-color.c (color_pass): Likewise.
* ira-emit.c (change_loop): Likewise.
* ira-lives.c (inc_register_pressure, dec_register_pressure)
(single_reg_class, ira_implicitly_set_insn_hard_regs)
(process_bb_node_lives): Likewise.
* loop-invariant.c (gain_for_invariant): Likewise.
From-SVN: r188041
Diffstat (limited to 'gcc/ira-build.c')
-rw-r--r-- | gcc/ira-build.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/ira-build.c b/gcc/ira-build.c index 2edab52..b3fe5d0 100644 --- a/gcc/ira-build.c +++ b/gcc/ira-build.c @@ -1829,8 +1829,8 @@ low_pressure_loop_node_p (ira_loop_tree_node_t node) for (i = 0; i < ira_pressure_classes_num; i++) { pclass = ira_pressure_classes[i]; - if (node->reg_pressure[pclass] > ira_available_class_regs[pclass] - && ira_available_class_regs[pclass] > 1) + if (node->reg_pressure[pclass] > ira_class_hard_regs_num[pclass] + && ira_class_hard_regs_num[pclass] > 1) return false; } return true; |