1 /* { dg-require-effective-target vect_int } */
10 __attribute__ ((noinline
))
16 for (i
= 0; i
< n
; i
++)
18 for (j
= 0; j
< n
; j
++)
27 for (j
= 0; j
< n
; j
++)
28 if (a
[j
] != i
+ n
- 1)
31 for (i
= 0; i
< n
; i
++)
51 /* Fails for targets that don't vectorize PLUS (e.g alpha). */
52 /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" } } */
53 /* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 0 "vect" } } */
54 /* { dg-final { scan-tree-dump-times "Alignment of access forced using peeling" 0 "vect" } } */
55 /* { dg-final { cleanup-tree-dump "vect" } } */