Home | History | Annotate | Line # | Download | only in codegen
      1 # Check that the generated code does not contain a loop upper bound
      2 # that depends on the loop iterator.
      3 domain: "[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 }"
      4 child:
      5   schedule: "[d, w] -> [{ A[i0] -> [(i0)]; B[i0] -> [(i0)] }]"
      6   child:
      7     sequence:
      8     - filter: "{ A[x] }"
      9     - filter: "{ B[x] }"
     10