1 /* Check that the two loops are fused and that we manage to fold the two xor
3 /* { dg-options "-O2 -floop-nest-optimize -fdump-tree-forwprop-all -fdump-tree-graphite-all" } */
5 /* Make sure we fuse the loops like this:
7 for (int c0 = 0; c0 <= 99; c0 += 1) {
12 /* { dg-final { scan-tree-dump-times "AST generated by isl:.*for \\(int c0 = 0; c0 <= 99; c0 \\+= 1\\) \\{.*S_.*\\(c0\\);.*S_.*\\(c0\\);.*S_.*\\(c0\\);.*\\}" 1 "graphite" } } */
14 /* Check that after fusing the loops, the scalar computation is also fused. */
15 /* { dg-final { scan-tree-dump-times "gimple_simplified to\[^\\n\]*\\^ 12" 1 "forwprop4" } } */
27 for (i
= 0; i
< MAX
; i
++)
29 for(int i
=0; i
<MAX
; i
++)
31 for(int i
=0; i
<MAX
; i
++)
34 for (i
= 0; i
< MAX
; i
++)