rs6000: Move processor_costs to header
authorSegher Boessenkool <segher@kernel.crashing.org>
Mon, 9 Oct 2017 23:05:37 +0000 (01:05 +0200)
committerSegher Boessenkool <segher@gcc.gnu.org>
Mon, 9 Oct 2017 23:05:37 +0000 (01:05 +0200)
commitd966425468fae968bcefb19ab764486e3e2e22e9
tree4f431ff1f36ee408f7f57a0403edd50a3d5c6276
parent2ab71f3d8707c9b292e5853050b5fbba2911fccb
rs6000: Move processor_costs to header

This moves the processor_costs structure declaration to the rs6000.h
header file, so that things in other files can use it (not just things
in rs6000.c).

* config/rs6000/rs6000.c (processor_costs): Move to ...
* config/rs6000/rs6000.h: ... here.
(rs6000_cost): Declare.

From-SVN: r253570
gcc/ChangeLog
gcc/config/rs6000/rs6000.c
gcc/config/rs6000/rs6000.h