PR rtl-optimization/63340 (part 2)
authorRichard Sandiford <richard.sandiford@arm.com>
Wed, 29 Oct 2014 10:02:33 +0000 (10:02 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Wed, 29 Oct 2014 10:02:33 +0000 (10:02 +0000)
commitdab67d2ca2788745393a57b54ed59afb7585602c
treee56aeffa0453f1dfb0cde608a966d63b61550910
parentcbfb154838d2f68df51060a686524cdfb3148764
PR rtl-optimization/63340 (part 2)

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.

From-SVN: r216829
gcc/ChangeLog
gcc/ira-costs.c
gcc/reginfo.c
gcc/rtl.h