aboutsummaryrefslogtreecommitdiff
path: root/gcc/reload.h
diff options
context:
space:
mode:
authorRichard Sandiford <richard.sandiford@linaro.org>2017-12-21 06:58:00 +0000
committerRichard Sandiford <rsandifo@gcc.gnu.org>2017-12-21 06:58:00 +0000
commit0cb78959893b418d0e81d62b22e450a09a7ef958 (patch)
tree229b864810d8ff93f56790e4272a2a34a5fa0039 /gcc/reload.h
parentf37fac2b74df114c5b3e9c8a3be2cad9acd3f4ca (diff)
downloadgcc-0cb78959893b418d0e81d62b22e450a09a7ef958.zip
gcc-0cb78959893b418d0e81d62b22e450a09a7ef958.tar.gz
gcc-0cb78959893b418d0e81d62b22e450a09a7ef958.tar.bz2
poly_int: reload.c
This patch makes a few small poly_int64 changes to reload.c, such as in the "decomposition" structure. In practice, any port with polynomial-sized modes should be using LRA rather than reload, but it's easier to convert reload anyway than to sprinkle to_constants everywhere. 2017-12-21 Richard Sandiford <richard.sandiford@linaro.org> Alan Hayward <alan.hayward@arm.com> David Sherwood <david.sherwood@arm.com> gcc/ * reload.h (reload::inc): Change from an int to a poly_int64_pod. * reload.c (combine_reloads, debug_reload_to_stream): Likewise. (decomposition): Change start and end from HOST_WIDE_INT to poly_int64_pod. (decompose, immune_p): Update accordingly. (find_inc_amount): Return a poly_int64 rather than an int. * reload1.c (inc_for_reload): Take the inc_amount as a poly_int64 rather than an int. Co-Authored-By: Alan Hayward <alan.hayward@arm.com> Co-Authored-By: David Sherwood <david.sherwood@arm.com> From-SVN: r255915
Diffstat (limited to 'gcc/reload.h')
-rw-r--r--gcc/reload.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/reload.h b/gcc/reload.h
index 87e786e..2019db8 100644
--- a/gcc/reload.h
+++ b/gcc/reload.h
@@ -97,7 +97,7 @@ struct reload
/* Positive amount to increment or decrement by if
reload_in is a PRE_DEC, PRE_INC, POST_DEC, POST_INC.
Ignored otherwise (don't assume it is zero). */
- int inc;
+ poly_int64_pod inc;
/* A reg for which reload_in is the equivalent.
If reload_in is a symbol_ref which came from
reg_equiv_constant, then this is the pseudo