pet_check_code: op_expr_extract_pw_aff: handle more types of expressions
[pet.git] / tests / while_affine.c
blobcfc177be7bbc3788c5e07398bfea81ca918b4527
1 void foo(int N)
3 int i, j, a[N], b[N];
5 #pragma scop
6 for (i = 0; i < 100; ++i)
7 while (i > 98) {
8 for (j = 0; j < N; ++j)
9 a[j] = 0;
10 for (j = 0; j < N; ++j)
11 b[j] = a[j];
13 #pragma endscop