[AArch64] Split gcc.target/aarch64/sve/reduc_strict_3.c
authorRichard Sandiford <richard.sandiford@arm.com>
Thu, 31 Oct 2019 17:21:11 +0000 (17:21 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Thu, 31 Oct 2019 17:21:11 +0000 (17:21 +0000)
commit37115224b2ee1f03ce8d7816182c267c9ff9d545
treed6e7e69417d91aff9b88728ad899ff9c922ec21b
parent6ff0cdebb1bc281ba2374f3ecdbe358c4fa74093
[AArch64] Split gcc.target/aarch64/sve/reduc_strict_3.c

This patch splits gcc.target/aarch64/sve/reduc_strict_3.c into one
test per function, so that it's easier to see what each scan is
matching and also so that we no longer rely on the number of times
that each dump message is printed.

The patch also generalises the tests to work with scalable vectors.
I think the test probably predates support for variable-length
loop-aware SLP.

2019-10-31  Richard Sandiford  <richard.sandiford@arm.com>

gcc/testsuite/
* gcc.target/aarch64/sve/reduc_strict_3.c: Split all but the
first function out into...
* gcc.target/aarch64/sve/reduc_strict_4.c,
* gcc.target/aarch64/sve/reduc_strict_5.c,
* gcc.target/aarch64/sve/reduc_strict_6.c,
* gcc.target/aarch64/sve/reduc_strict_7.c,
* gcc.target/aarch64/sve/reduc_strict_8.c,
* gcc.target/aarch64/sve/reduc_strict_9.c: ...these new tests.
Test for scalable vectors instead of 256-bit vectors.

From-SVN: r277681
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/aarch64/sve/reduc_strict_3.c
gcc/testsuite/gcc.target/aarch64/sve/reduc_strict_4.c [new file with mode: 0644]
gcc/testsuite/gcc.target/aarch64/sve/reduc_strict_5.c [new file with mode: 0644]
gcc/testsuite/gcc.target/aarch64/sve/reduc_strict_6.c [new file with mode: 0644]
gcc/testsuite/gcc.target/aarch64/sve/reduc_strict_7.c [new file with mode: 0644]
gcc/testsuite/gcc.target/aarch64/sve/reduc_strict_8.c [new file with mode: 0644]
gcc/testsuite/gcc.target/aarch64/sve/reduc_strict_9.c [new file with mode: 0644]