10 lines · plain
1# Check that the generated code does not contain a loop upper bound2# that depends on the loop iterator.3domain: "[d, w] -> { A[i0] : i0 >= 0 and ((d < 0 and 2*floor((1 + d)/2) < w - i0) or (d >= 0 and 2*floor((d)/2) < w - i0)); B[i0] : i0 >= 0 and d < 0 and 2*floor((d)/2) > 2d - w + i0 }"4child:5 schedule: "[d, w] -> [{ A[i0] -> [(i0)]; B[i0] -> [(i0)] }]"6 child:7 sequence:8 - filter: "{ A[x] }"9 - filter: "{ B[x] }"10