PetScan::scan: fix check for scop being proper part of statement
[pet.git] / tests / min.scop
blob7d0e168259235f63ebcc26fab63e65528c7d6413
1 context: '[N] -> {  : N <= 1073741823 and N >= 0 }'
2 arrays:
3 - context: '[N] -> {  : N >= 0 }'
4   extent: '[N] -> { a[i0] : i0 >= 0 and i0 <= -1 + N }'
5   element_type: int
6   element_size: 4
7 statements:
8 - line: 8
9   domain: '[N] -> { S_0[i] : i <= -11 + 2N and i <= -1 + N and i >= 0 }'
10   schedule: '[N] -> { S_0[i] -> [0, i] }'
11   body:
12     type: binary
13     operation: =
14     arguments:
15     - type: access
16       relation: '[N] -> { S_0[i] -> a[i] }'
17       read: 0
18       write: 1
19     - type: access
20       relation: '[N] -> { S_0[i] -> [i] }'
21       read: 1
22       write: 0