haifa-sched.c (call_used_regs_num): Rename to...
authorPat Haugen <pthaugen@us.ibm.com>
Wed, 26 Oct 2016 17:07:55 +0000 (17:07 +0000)
committerPat Haugen <pthaugen@gcc.gnu.org>
Wed, 26 Oct 2016 17:07:55 +0000 (17:07 +0000)
commit6d5c37d0041f7dc3699623ac7fc7eaf68afbab4b
tree7734eb0522b2f7df32754f0a65529b439dc60da7
parenteaa402fcc706116a06d474e7f148e787d3c78ae0
haifa-sched.c (call_used_regs_num): Rename to...

* haifa-sched.c (call_used_regs_num): Rename to...
(call_saved_regs_num): ...this.
(fixed_regs_num): New variable.
(sched_pressure_start_bb): Subtract out fixed_regs. Scale call_saved
regs not call_used.
(alloc_global_sched_pressure_data): Compute call_saved and fixed regs.

From-SVN: r241590
gcc/ChangeLog
gcc/haifa-sched.c