From: Kugan Vivekanandarajah <kugan.vivekanandara...@linaro.org>

In PR88834, IVOPT is not selecting the right addressing mode. Inorder to fix 
thix,
we need to add support to add IV uses for IFN_MASK_LOAD_LANES and 
IFN_MASK_STORE_LANES.
In addition, we also need to add IV candidate with scaled by the element or 
access size if
that is useful. Richard Sandiford has provided some feedback in the PR and I 
tried to
incoporate this in PATCH1.

PATCH 2 is the changes needed in aarch64 back in the testadjustments.

Bootstrap and regression testing for the current version is ongoing.

Thanks,
Kugan

Kugan Vivekanandarajah (2):
  Add support for IVOPT
  aarch64 back-end changes

 gcc/config/aarch64/aarch64.c                       |  2 +-
 gcc/testsuite/gcc.target/aarch64/pr88834.c         | 15 ++++++
 .../gcc.target/aarch64/sve/struct_vect_1.c         |  8 +--
 .../gcc.target/aarch64/sve/struct_vect_14.c        |  8 +--
 .../gcc.target/aarch64/sve/struct_vect_15.c        |  8 +--
 .../gcc.target/aarch64/sve/struct_vect_16.c        |  8 +--
 .../gcc.target/aarch64/sve/struct_vect_17.c        |  8 +--
 .../gcc.target/aarch64/sve/struct_vect_7.c         |  8 +--
 gcc/tree-ssa-loop-ivopts.c                         | 60 +++++++++++++++++++++-
 9 files changed, 99 insertions(+), 26 deletions(-)
 create mode 100644 gcc/testsuite/gcc.target/aarch64/pr88834.c

-- 
2.7.4

Reply via email to