1 /* { dg-options "-O2 -fgraphite-identity -fdump-tree-graphite-all" } */
20 for (tj
= 0; tj
< numf2s
; tj
++)
23 tsum
+= tds
[ti
][tj
] * d
;
28 /* There should be no loops generated for this testcase, instead we
29 should generate the following:
31 | if (winner >= 0 && winner < numf2s && Y[winner].y > 0)
32 | tsum += tds[ti][winner] * d;
34 For the moment this is XFAILed as this loop is not detected as a
35 SCoP by graphite: we depend on data in one of the conditions,
36 "Y[winner].y > 0". This could be fixed when we will use predicates
39 /* { dg-final { scan-tree-dump-times "loop_1" 0 "graphite" { xfail *-*-* } } } */
40 /* { dg-final { scan-tree-dump "number of SCoPs: 0" "graphite" } } */