1 /* { dg-options "-O2 -fgraphite-identity -fdump-tree-graphite-all" } */
6 foo (int bar
, int n
, int k
)
10 for (i
= 0; i
< n
; i
++)
14 for (i
= 0; i
< n
; i
++)
21 /* There should be no loops generated for this testcase, instead we
22 should generate the following:
24 | if (k >= 0 && k < n)
27 Check that this text is produced:
30 if (n >= k + 1 && k >= 0) {
37 /* { dg-final { scan-tree-dump "if \\\(P_\[0-9\]+ >= P_\[0-9\]+ \\\+ 1 && P_\[0-9\]+ >= 0\\\) \\\{" "graphite" } } */