1 /* { dg-require-effective-target vect_condition } */
2 /* { dg-additional-options "-fdump-tree-vect-details" } */
8 __attribute__((noinline
, noclone
)) void
9 foo (int *a
, int stride
)
13 for (i
= 0; i
< N
/stride
; i
++, a
+= stride
)
30 for (i
= 0; i
< N
; i
++)
33 asm volatile ("" ::: "memory");
38 for (i
= 1; i
< N
; i
++)
48 /* { dg-final { scan-tree-dump {(no need for alias check [^\n]* when VF is 1|no alias between [^\n]* when [^\n]* is outside \(-16, 16\))} "vect" { target vect_element_align } } } */
49 /* { dg-final { scan-tree-dump-times "loop vectorized" 1 "vect" { target vect_element_align } } } */