| 1 |
/* Fix for PR119351 alignment peeling with vectors and VLS. */ |
| 2 |
/* { dg-do run { target aarch64_sve_hw } } */ |
| 3 |
/* { dg-options "-Ofast --param aarch64-autovec-preference=sve-only" } */ |
| 4 |
/* { dg-additional-options "-msve-vector-bits=256" { target aarch64_sve256_hw } } */ |
| 5 |
/* { dg-additional-options "-msve-vector-bits=128" { target aarch64_sve128_hw } } */ |
| 6 |
|
| 7 |
#include "peel_ind_7.c" |
| 8 |
|
| 9 |
int __attribute__ ((optimize (1))) |
| 10 |
main (void) |
| 11 |
{ |
| 12 |
int res = foo (); |
| 13 |
asm volatile (""); |
| 14 |
if (res != START) |
| 15 |
__builtin_abort (); |
| 16 |
return 0; |
| 17 |
} |