1 /* { dg-require-effective-target size32plus } */
4 void foo(int N
, int *res
)
10 for (j
= 3; j
< N
; j
= j
* j
)
15 /* Next two loops form first SCoP */
16 for (i
= 0; i
< N
; i
++)
19 for (i
= 0; i
< N
; i
++)
27 for (j
= 3; j
< N
; j
= j
* j
)
32 for (j
= 3; j
< N
; j
= j
* j
)
37 /* Next two loop-nests form second SCoP */
38 for (i
= 0; i
< N
; i
++)
41 for (i
= 0; i
< N
; i
++)
42 for (j
= 0; j
< N
; j
++)
53 /* { dg-final { scan-tree-dump-times "number of SCoPs: 2" 1 "graphite"} } */
54 /* { dg-final { scan-tree-dump-times "Loops in SCoP" 2 "graphite"} } */
55 /* { dg-final { scan-tree-dump "Loops in SCoP: 2, 3" "graphite"} } */
56 /* { dg-final { scan-tree-dump "Loops in SCoP: 6, 7, 8" "graphite"} } */