Resending this patch series because it seems the v2 patch didn't go through properly (commit v2 1/2 is missing on sourceware). No changes from v2.
I also forgot to mention I do not have commit rights to the repo yet. So I will need someone else to merge this for me. Thanks Changelog: * v3: No changes. * v2: Make assertions in `vect_check_gather_scatter` into checking assertions. * v1: Initial patch Karl Meakin (2): AArch64: precommit test for masked load vectorisation. middle-end: Enable masked load with non-constant offset .../gcc.target/aarch64/sve/mask_load_2.c | 23 ++++++++++++++++ gcc/tree-vect-data-refs.cc | 26 ++++++++----------- 2 files changed, 34 insertions(+), 15 deletions(-) create mode 100644 gcc/testsuite/gcc.target/aarch64/sve/mask_load_2.c -- 2.48.1