alpha.c (direct_return): Move down after struct machine_function definition...
authorRichard Henderson <rth@twiddle.net>
Wed, 5 Jun 2019 18:16:18 +0000 (11:16 -0700)
committerUros Bizjak <uros@gcc.gnu.org>
Wed, 5 Jun 2019 18:16:18 +0000 (20:16 +0200)
commit0191520b2d2267b4a8a898ceb4d4682d730ee2e2
tree90d5c06330733f077dc1ebefcab342c979ccdfda
parent6f0926e644cf63547f70194f7830d5ce63211a86
alpha.c (direct_return): Move down after struct machine_function definition...

* config/alpha/alpha.c (direct_return): Move down after
struct machine_function definition; use saved frame_size;
return bool.
(struct machine_function): Add sa_mask, sa_size, frame_size.
(alpha_sa_mask, alpha_sa_size, compute_frame_size): Merge into ...
(alpha_compute_frame_layout): ... new function.
(TARGET_COMPUTE_FRAME_LAYOUT): New.
(alpha_initial_elimination_offset): Use saved sa_size.
(alpha_vms_initial_elimination_offset): Likewise.
(alpha_vms_can_eliminate): Remove alpha_sa_size call.
(alpha_expand_prologue): Use saved frame data.  Merge integer
and fp register save loops.
(alpha_expand_epilogue): Likewise.
(alpha_start_function): Use saved frame data.
* config/alpha/alpha-protos.h (direct_return): Update.
(alpha_sa_size): Remove.

From-SVN: r271970
gcc/ChangeLog
gcc/config/alpha/alpha-protos.h
gcc/config/alpha/alpha.c