Debian Codegraph @

gcc/testsuite/gcc.dg/vect/slp-57.c

raw
1 /* { dg-do compile } */
2 /* { dg-require-effective-target vect_int } */
3
4 int a[1024];
5 void foo (int x)
6 {
7 for (int i = 0; i < 1024; i += 2)
8 {
9 a[i] = x;
10 a[i+1] = 1;
11 }
12 }
13
14 /* { dg-final { scan-tree-dump "vectorizing stmts using SLP" "vect" } } */