blob: fafc70ca3e4198ac72e973ddeb2d5f6da7c13f83 [file] [log] [blame]
/* { dg-do run { target aarch64_sve_hw } } */
/* { dg-options "-O2 -ftree-vectorize" } */
#include "clastb_1.c"
int __attribute__ ((optimize (1)))
main (void)
{
int a[N] = {
11, -12, 13, 14, 15, 16, 17, 18, 19, 20,
1, 2, -3, 4, 5, 6, 7, -8, 9, 10,
21, 22, 23, 24, 25, 26, 27, 28, 29, 30,
31, 32
};
int ret = condition_reduction (a, 1);
if (ret != 17)
__builtin_abort ();
return 0;
}