1 /* { dg-do compile } */
2 /* { dg-require-effective-target vect_int } */
4 void f1 (int * restrict a
, int * restrict b
, int n
)
7 for (int i
= 0; i
< (n
& -8); i
++)
11 void f2 (int * restrict a
, int * restrict b
, int n
)
16 for (int i
= 0; i
< (n
& -8); i
++)
20 void f3 (int * restrict a
, int * restrict b
, int n
)
25 for (int i
= 0; i
< (n
& -8); i
++)
29 void f4 (int * restrict a
, int * restrict b
, int n
)
34 for (int i
= 0; i
< (n
& -8); i
++)
38 void f5 (int * restrict a
, int * restrict b
, int n
)
50 void f6 (int * restrict a
, int * restrict b
, int n
)
61 /* { dg-final { scan-tree-dump-not "LOOP VECTORIZED" "vect" } } */