poly_int: reload1.c
commitac5aa32db53e7f701472ea0927613ff95af1a570
authorrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 21 Dec 2017 06:58:08 +0000 (21 06:58 +0000)
committerrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 21 Dec 2017 06:58:08 +0000 (21 06:58 +0000)
tree44cd2dc750abcdc111d0bb6a096c8b73d4af25f0
parentff09c5d7494f9e08591025cb5592720cc5b0490a
poly_int: reload1.c

This patch makes a few small poly_int64 changes to reload1.c,
mostly related to eliminations.  Again, there's no real expectation
that reload will be used for targets that have polynomial-sized modes,
but it seemed easier to convert it anyway.

2017-12-21  Richard Sandiford  <richard.sandiford@linaro.org>
    Alan Hayward  <alan.hayward@arm.com>
    David Sherwood  <david.sherwood@arm.com>

gcc/
* reload1.c (elim_table): Change initial_offset, offset and
previous_offset from HOST_WIDE_INT to poly_int64_pod.
(offsets_at): Change the target array's element type from
HOST_WIDE_INT to poly_int64_pod.
(set_label_offsets, eliminate_regs_1, eliminate_regs_in_insn)
(elimination_costs_in_insn, update_eliminable_offsets)
(verify_initial_elim_offsets, set_offsets_for_label)
(init_eliminable_invariants): Update after above changes.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@255916 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/reload1.c