1 /* { dg-additional-options "-fdump-tree-cunroll-details" } */
7 { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19,
8 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30 };
10 void __attribute__((noinline
,noclone
))
14 for (i
= 0; i
< s
; i
++)
18 int main (int argc
, const char **argv
)
23 for (i
= 0; i
< 31; i
++)
28 /* { dg-final { scan-tree-dump "vectorized 1 loops" "vect" { target { i?86-*-* x86_64-*-* } } } } */
29 /* { dg-final { scan-tree-dump "loop turned into non-loop; it never loops" "cunroll" { target { i?86-*-* x86_64-*-* } } } } */
30 /* { dg-final { scan-tree-dump-not "loop with 2 iterations completely unrolled" "cunroll" { target { i?86-*-* x86_64-*-* } } } } */