This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r242314 - in /branches/ARM/sve-branch/gcc: test...
- From: rsandifo at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Fri, 11 Nov 2016 17:39:22 -0000
- Subject: r242314 - in /branches/ARM/sve-branch/gcc: test...
Author: rsandifo
Date: Fri Nov 11 17:39:21 2016
New Revision: 242314
URL: https://gcc.gnu.org/viewcvs?rev=242314&root=gcc&view=rev
Log:
Improve ivopts handling of offset multiples
This patch makes ivopts detect whether the target requires an
address offset to be a multiple of a particular value (often but
not necessarily the mode size). This is then one of the things
that get_address_cost has to consider when deciding whether an
offset is valid.
The patch also improves the detection of offset ranges for
variable-sized modes.
Added:
branches/ARM/sve-branch/gcc/testsuite/gcc.target/aarch64/sve_load_const_offset_2.c
branches/ARM/sve-branch/gcc/testsuite/gcc.target/aarch64/sve_load_const_offset_3.c
Modified:
branches/ARM/sve-branch/gcc/tree-ssa-loop-ivopts.c