pet_expr_filter: avoid introduction of constraints in index expression
[pet.git] / tests / decl2.scop
blobb926092a1949f7eb80223a8c3454a2cff5454b21
1 start: 18
2 end: 69
3 context: '[N] -> {  : N >= 1 and N <= 2147483647 }'
4 arrays:
5 - context: '[N] -> {  : N >= 0 }'
6   extent: '[N] -> { A[i0] : i0 <= -1 + N and i0 >= 0 }'
7   element_type: int
8   element_size: 4
9   declared: 1
10   exposed: 1
11 statements:
12 - line: 4
13   domain: '[N] -> { S_0[] }'
14   schedule: '{ S_0[] -> [0] }'
15   body:
16     type: op
17     operation: kill
18     arguments:
19     - type: access
20       relation: '[N] -> { S_0[] -> A[o0] : o0 <= -1 + N and o0 >= 0 }'
21       index: '[N] -> { S_0[] -> A[] }'
22       reference: __pet_ref_0
23       read: 0
24       write: 0
25 - line: 5
26   domain: '[N] -> { S_1[] }'
27   schedule: '{ S_1[] -> [1] }'
28   body:
29     type: op
30     operation: =
31     arguments:
32     - type: access
33       relation: '[N] -> { S_1[] -> A[0] }'
34       index: '[N] -> { S_1[] -> A[(0)] }'
35       reference: __pet_ref_1
36       read: 0
37       write: 1
38     - type: int
39       value: 1