This patch just adds tests that we can vectorize loop such as these:
for (i = 0; i < n; i++) dst[i * 7] += 1;
and
for (i = 0; i < n; i++) if (cond[i]) dst[i * 7] += 1;
using scalable vectors, where we expect to use gathers and scatters in the
vectorized loop. The vector of pointers used for the gather is identical
to those used for the scatter so there should be no memory dependences.
Tests are added here:
Transforms/LoopVectorize/AArch64/sve-large-strides.ll
Optional: I'd understood it was preferred to put the triples and attrs into the IR to make invoking opt manually on the file a little easier.