pet_stmt_build_ast_exprs: ignore expression arguments not appearing in index
[pet.git] / tests / implicit_condition.scop
blob79eff9bb4a1f65586546f6c0f28d45e10ddb7bc5
1 start: 38
2 end: 114
3 indent: "\t"
4 context: '[N] -> {  : N >= 0 and N <= 2147483647 }'
5 arrays:
6 - context: '[N] -> {  : N >= 0 }'
7   extent: '[N] -> { a[i0] : i0 <= -1 + N and i0 >= 0 }'
8   element_type: int
9   element_size: 4
10 statements:
11 - line: 9
12   domain: '[N] -> { S_0[i] : i <= -1 + N and i >= 1 }'
13   schedule: '[N] -> { S_0[i] -> [0, i] }'
14   body:
15     type: expression
16     expr:
17       type: op
18       operation: =
19       arguments:
20       - type: access
21         index: '[N] -> { S_0[i] -> a[(i)] }'
22         reference: __pet_ref_0
23         read: 0
24         write: 1
25       - type: access
26         index: '[N] -> { S_0[i] -> [(i)] }'
27         reference: __pet_ref_1
28         read: 1
29         write: 0