SVE Intrinsics: Change return type of redirect_call to gcall.
[official-gcc.git] / gcc / testsuite / gcc.dg / vect / pr99102.c
blob071741f5e48a5220a9805dc78b24cd1dc545de2b
1 /* { dg-additional-options "-O2 -ftree-vectorize -fno-vect-cost-model -fdump-tree-vect-details" } */
2 /* { dg-additional-options "-msve-vector-bits=256" { target aarch64_sve256_hw } } */
3 long a[44];
4 short d, e = -7;
5 __attribute__((noipa)) void b(char f, short j, short k, unsigned l) {
6 for (int g = 0; g < 9; g += f)
7 for (int b = 0; b < 90; b -= k)
8 for (int h = 0; h < f; h++)
9 for (short i = 0; i < 15; i += 4)
10 if (!l)
11 a[i] = j;
13 int main() {
14 for (long c = 0; c < 2; ++c)
15 a[c] = 7;
16 b(9, d, e, 5);
17 if (!a[0])
18 __builtin_abort();
20 /* { dg-final { scan-tree-dump "MASK_SCATTER_STORE" "vect" { target aarch64_sve256_hw } } } */