diff options
author | Richard Sandiford <richard.sandiford@linaro.org> | 2018-01-11 13:18:23 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@gcc.gnu.org> | 2018-01-11 13:18:23 +0000 |
commit | dc6401818b1509cf7617879b9c00bba5daba5c66 (patch) | |
tree | 47461ef6e6ecc6767cb94c718222286724e160c4 /gcc/tree-vrp.c | |
parent | 6a70badb2c1f627cd669f2fcfaeca4a05db50b5b (diff) | |
download | gcc-dc6401818b1509cf7617879b9c00bba5daba5c66.zip gcc-dc6401818b1509cf7617879b9c00bba5daba5c66.tar.gz gcc-dc6401818b1509cf7617879b9c00bba5daba5c66.tar.bz2 |
[AArch64] Add const_offset field to aarch64_address_info
This patch records the integer value of the address offset in
aarch64_address_info, so that it doesn't need to be re-extracted
from the rtx. The SVE port will make more use of this. The patch
also uses poly_int64 routines to manipulate the offset, rather than
just handling CONST_INTs.
2018-01-11 Richard Sandiford <richard.sandiford@linaro.org>
Alan Hayward <alan.hayward@arm.com>
David Sherwood <david.sherwood@arm.com>
gcc/
* config/aarch64/aarch64.c (aarch64_address_info): Add a const_offset
field.
(aarch64_classify_address): Initialize it. Track polynomial offsets.
(aarch64_print_address_internal): Use it to check for a zero offset.
Co-Authored-By: Alan Hayward <alan.hayward@arm.com>
Co-Authored-By: David Sherwood <david.sherwood@arm.com>
From-SVN: r256534
Diffstat (limited to 'gcc/tree-vrp.c')
0 files changed, 0 insertions, 0 deletions