PetScan::scan: fix check for scop being proper part of statement
[pet.git] / tests / filter.scop
blob4533ba712ad834ca99f455e6d3cbe91fb54d432a
1 context: '{  :  }'
2 arrays:
3 - context: '{  :  }'
4   extent: '{ test[i0] : i0 >= 0 }'
5   element_type: int
6   element_size: 4
7 - context: '{  :  }'
8   extent: '{ a[] }'
9   element_type: int
10   element_size: 4
11 statements:
12 - line: 7
13   domain: '{ [S_1[] -> [test]] : test <= -1 or test >= 1 }'
14   schedule: '{ S_1[] -> [0] }'
15   body:
16     type: binary
17     operation: =
18     arguments:
19     - type: access
20       relation: '{ S_1[] -> a[] }'
21       read: 0
22       write: 1
23     - type: access
24       relation: '{ S_1[] -> [5] }'
25       read: 1
26       write: 0
27   arguments:
28   - type: access
29     relation: '[index] -> { S_1[] -> test[index] : index >= 0 or index >= 0 }'
30     read: 1
31     write: 0