1 /* { dg-require-effective-target vect_int } */
2 /* { dg-additional-options "-fdump-tree-optimized-details-blocks" } */
9 __attribute__ ((noinline
))
15 for (i
= 0; i
< N
; i
++)
17 for (j
= 0; j
< N
; j
++)
27 for (j
= 0; j
< N
; j
++)
28 if (a
[j
] != i
+ N
- 1)
32 for (j
= 0; j
< N
; j
++)
41 int a
[N
] __attribute__ ((__aligned__(__BIGGEST_ALIGNMENT__
)));
50 /* Fails for targets that don't vectorize PLUS (e.g alpha). */
51 /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" } } */
52 /* { dg-final { scan-tree-dump-not "Invalid sum" "optimized" } } */