File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
flang/test/Transforms/DoConcurrent Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ program do_concurrent_basic
2929 ! CHECK: omp.wsloop {
3030 ! CHECK-NEXT: omp.loop_nest (%[[ARG0:.*]]) : index = (%[[LB]]) to (%[[UB]]) inclusive step (%[[STEP]]) {
3131 ! CHECK-NEXT: %[[IV_IDX:.*]] = fir.convert %[[ARG0]] : (index) -> i32
32- ! CHECK-NEXT: fir.store %[[IV_IDX]] to %[[BINDING]]#1 : !fir.ref<i32>
32+ ! CHECK-NEXT: fir.store %[[IV_IDX]] to %[[BINDING]]#0 : !fir.ref<i32>
3333 ! CHECK-NEXT: %[[IV_VAL1:.*]] = fir.load %[[BINDING]]#0 : !fir.ref<i32>
3434 ! CHECK-NEXT: %[[IV_VAL2:.*]] = fir.load %[[BINDING]]#0 : !fir.ref<i32>
3535 ! CHECK-NEXT: %[[IV_VAL_I64:.*]] = fir.convert %[[IV_VAL2]] : (i32) -> i64
Original file line number Diff line number Diff line change @@ -31,11 +31,11 @@ program main
3131! CHECK: omp.loop_nest ({{[^[:space:]]+}}) {{.*}} {
3232! CHECK: fir.do_loop %[[J_IV:.*]] = {{.*}} {
3333! CHECK: %[[J_IV_CONV:.*]] = fir.convert %[[J_IV]] : (index) -> i32
34- ! CHECK: fir.store %[[J_IV_CONV]] to %[[ORIG_J_DECL]]#1
34+ ! CHECK: fir.store %[[J_IV_CONV]] to %[[ORIG_J_DECL]]#0
3535
3636! CHECK: fir.do_loop %[[K_IV:.*]] = {{.*}} {
3737! CHECK: %[[K_IV_CONV:.*]] = fir.convert %[[K_IV]] : (index) -> i32
38- ! CHECK: fir.store %[[K_IV_CONV]] to %[[ORIG_K_DECL]]#1
38+ ! CHECK: fir.store %[[K_IV_CONV]] to %[[ORIG_K_DECL]]#0
3939! CHECK: }
4040! CHECK: }
4141! CHECK: omp.yield
You can’t perform that action at this time.
0 commit comments