isl_tab_basic_map_partial_lexopt: detect modulos and integer divisions
[isl.git] / test_inputs / codegen / bilinear.st
blob00704b5e92dcd2d5d5d111f423523e87f4ef3854
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] }"