Re: [PATCH 1/5] Rename existing insn_cost to insn_sched_cost

2017-08-02 Thread Jeff Law
On 07/31/2017 05:25 PM, Segher Boessenkool wrote: > haifa-sched exports an insn_cost function, but it is only used in a > few places and specialised to scheduling. This patch renames it to > insn_sched_cost. > > --- > gcc/haifa-sched.c | 14 +++--- > gcc/sched-int.h| 2 +- > gcc/sc

[PATCH 1/5] Rename existing insn_cost to insn_sched_cost

2017-07-31 Thread Segher Boessenkool
haifa-sched exports an insn_cost function, but it is only used in a few places and specialised to scheduling. This patch renames it to insn_sched_cost. --- gcc/haifa-sched.c | 14 +++--- gcc/sched-int.h| 2 +- gcc/sched-rgn.c| 4 ++-- gcc/sel-sched-ir.c | 2 +- 4 files change