[testsuite] Fix target selector for pr99102.c

The target selector should explicitly choose 256 bit hardware as
explicit 256 bit compiler options are used to trigger the bug.

gcc/testsuite/ChangeLog:

	* gcc.dg/vect/pr99102.c: Fix target selector.
This commit is contained in:
Joel Hutton 2021-03-10 13:28:46 +00:00
parent 99d5299376
commit 3fbac260fc
1 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
/* { dg-options "-O2 -ftree-vectorize" } */
/* { dg-additional-options "-msve-vector-bits=256" { target aarch64_sve } } */
/* { dg-additional-options "-msve-vector-bits=256" { target aarch64_sve256_hw } } */
long a[44];
short d, e = -7;
__attribute__((noipa)) void b(char f, short j, short k, unsigned l) {
@ -17,4 +17,4 @@ int main() {
if (!a[0])
__builtin_abort();
}
/* { dg-final { scan-tree-dump "MASK_SCATTER_STORE" "vect" { target aarch64_sve } } } */
/* { dg-final { scan-tree-dump "MASK_SCATTER_STORE" "vect" { target aarch64_sve256_hw } } } */