1 /* Autopar with IF conditions. */
13 /* Initialize array: carried no dependency. */
14 for (i
= 0; i
< 2*N
; i
++)
17 for (i
= 0; i
< N
; i
++)
20 /* loop i1: carried no dependency. */
23 /* loop i2: carried dependency. */
27 /* If it runs a wrong answer, abort. */
28 for (i
= 0; i
< N
; i
++)
49 /* Check that parallel code generation part make the right answer. */
50 /* { dg-final { scan-tree-dump-times "2 loops carried no dependency" 1 "graphite" } } */
51 /* { dg-final { cleanup-tree-dump "graphite" } } */
52 /* { dg-final { scan-tree-dump-times "loopfn.0" 5 "optimized" } } */
53 /* { dg-final { scan-tree-dump-times "loopfn.1" 5 "optimized" } } */
54 /* { dg-final { cleanup-tree-dump "parloops" } } */
55 /* { dg-final { cleanup-tree-dump "optimized" } } */