]> git.ipfire.org Git - thirdparty/gcc.git/commit
poly_int: reload1.c
authorRichard Sandiford <richard.sandiford@linaro.org>
Thu, 21 Dec 2017 06:58:08 +0000 (06:58 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Thu, 21 Dec 2017 06:58:08 +0000 (06:58 +0000)
commit7ee216163faf80d2a55f1c08abb971b7da34a793
tree44cd2dc750abcdc111d0bb6a096c8b73d4af25f0
parent0cb78959893b418d0e81d62b22e450a09a7ef958
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.

Co-Authored-By: Alan Hayward <alan.hayward@arm.com>
Co-Authored-By: David Sherwood <david.sherwood@arm.com>
From-SVN: r255916
gcc/ChangeLog
gcc/reload1.c