gcc/
authorrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 29 Oct 2014 10:02:33 +0000 (10:02 +0000)
committerrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 29 Oct 2014 10:02:33 +0000 (10:02 +0000)
commit511b66fbd69cd2debbb0bcde9752401b1292729d
treee56aeffa0453f1dfb0cde608a966d63b61550910
parent4aafe2397f81c20dc96aae817b1f0ff4149eebe1
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
gcc/ChangeLog
gcc/ira-costs.c
gcc/reginfo.c
gcc/rtl.h