1 /* { dg-require-effective-target vect_int } */
8 typedef int aint
__attribute__ ((__aligned__(16)));
10 int main1 (int n
, int *a
)
15 for (i
= 0; i
< n
; i
++)
17 for (j
= 0; j
< n
; j
++)
26 for (j
= 0; j
< n
; j
++)
27 if (a
[j
] != i
+ n
- 1)
30 for (j
= 0; j
< n
; j
++)
52 /* Fails for targets that don't vectorize PLUS (e.g alpha). */
53 /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" { xfail alpha*-*-* } } } */
54 /* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 0 "vect" } } */
55 /* { dg-final { scan-tree-dump-times "Alignment of access forced using peeling" 1 "vect" { xfail alpha*-*-* } } } */