diff options
author | Segher Boessenkool <segher@kernel.crashing.org> | 2017-12-07 10:35:10 +0100 |
---|---|---|
committer | Segher Boessenkool <segher@gcc.gnu.org> | 2017-12-07 10:35:10 +0100 |
commit | 39f88700226c8d1f91f4a4ac9d557e721618e87f (patch) | |
tree | 22e48190057f68b7f3c22d8df5d41e6dc3d1c4f1 /gcc/tree-pass.h | |
parent | 793fa2a437cec661509c8d7b2c7d967b1b225def (diff) | |
download | gcc-39f88700226c8d1f91f4a4ac9d557e721618e87f.zip gcc-39f88700226c8d1f91f4a4ac9d557e721618e87f.tar.gz gcc-39f88700226c8d1f91f4a4ac9d557e721618e87f.tar.bz2 |
rs6000: Don't use rs6000_cpu_attr directly
In some places in the code we currently use rs6000_cpu_attr, although
that is a cast from rs6000_tune. This patch changes things to be more
regular and clearer. Now rs6000_cpu_attr is not used any more, and
it is deleted.
* config/rs6000/rs6000.h (rs6000_cpu_attr): Delete.
* config/rs6000/rs6000.c (rs6000_variable_issue_1): Use rs6000_tune
instead of rs6000_cpu_attr.
(rs6000_adjust_cost): Ditto.
(is_microcoded_insn): Ditto.
(rs6000_adjust_priority): Ditto.
(rs6000_issue_rate): Ditto.
(rs6000_use_sched_lookahead): Ditto.
(rs6000_use_sched_lookahead_guard): Ditto.
(rs6000_sched_reorder): Ditto.
(force_new_group): Ditto.
* config/rs6000/rs6000.md (cpu attribute): Ditto.
(group_ending_nop): Ditto.
From-SVN: r255463
Diffstat (limited to 'gcc/tree-pass.h')
0 files changed, 0 insertions, 0 deletions