testsuite: Adjust gcc.dg/vect/slp-21.c for Arm targets
authorRichard Sandiford <richard.sandiford@arm.com>
Wed, 18 Nov 2020 18:40:32 +0000 (18:40 +0000)
committerRichard Sandiford <richard.sandiford@arm.com>
Wed, 18 Nov 2020 18:40:32 +0000 (18:40 +0000)
commitee9dd1c3022aa01ed3733cf58ed1f490872fa214
tree7a39e9eca4468908792cbf5d656ae09e94b1877b
parent6a9cd27ac6721ff378210c2851fb716c73f2a750
testsuite: Adjust gcc.dg/vect/slp-21.c for Arm targets

On arm* and aarch64* targets, we can vectorise the second of the main
loops using SLP, not just the third.  As the comments say, whether this
is supported depends on a very specific permutation, so it seemed better
to use direct target selectors.

gcc/testsuite/
* gcc.dg/vect/slp-21.c: Expect 4 SLP instances to be vectorized
on arm* and aarch64* targets.
gcc/testsuite/gcc.dg/vect/slp-21.c