diff options
author | rsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-10-29 10:02:33 +0000 |
---|---|---|
committer | rsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-10-29 10:02:33 +0000 |
commit | 511b66fbd69cd2debbb0bcde9752401b1292729d (patch) | |
tree | e56aeffa0453f1dfb0cde608a966d63b61550910 /gcc/rtl.h | |
parent | 4aafe2397f81c20dc96aae817b1f0ff4149eebe1 (diff) | |
download | gcc-511b66fbd69cd2debbb0bcde9752401b1292729d.tar.gz |
gcc/
PR rtl-optimization/63340 (part 2)
* rtl.h (invalid_mode_change_p): Delete.
(valid_mode_changes_for_regno): New function.
* reginfo.c (invalid_mode_change_p): Delete.
(valid_mode_changes_for_regno): New function.
* ira-costs.c (setup_regno_cost_classes_by_aclass): Restrict the
classes to registers that are allowed by valid_mode_changes_for_regno.
(setup_regno_cost_classes_by_mode): Likewise.
(print_allocno_costs): Remove invalid_mode_change_p test.
(print_pseudo_costs, find_costs_and_classes): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@216829 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/rtl.h')
-rw-r--r-- | gcc/rtl.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/rtl.h b/gcc/rtl.h index ddd39c920cc..b3fe680bd90 100644 --- a/gcc/rtl.h +++ b/gcc/rtl.h @@ -3468,7 +3468,9 @@ extern void init_reg_sets (void); extern void regclass (rtx, int); extern void reg_scan (rtx_insn *, unsigned int); extern void fix_register (const char *, int, int); -extern bool invalid_mode_change_p (unsigned int, enum reg_class); +#ifdef HARD_CONST +extern const HARD_REG_SET *valid_mode_changes_for_regno (unsigned int); +#endif /* In reload1.c */ extern int function_invariant_p (const_rtx); |