Skip to content

Commit c3865a1

Browse files
committed
review comments
1 parent ccad1a3 commit c3865a1

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

flang/test/Transforms/DoConcurrent/use_loop_bounds_in_body.f90

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,13 @@ subroutine foo(a, n)
1616
end do
1717
end subroutine
1818

19-
! CHECK: omp.target host_eval(%{{.*}} -> %{{.*}}, %{{.*}} -> %[[N_HOST_EVAL:.*]], %{{.*}} -> %{{.*}} : {{.*}}) map_entries({{.*}}) {
20-
! CHECK: %[[N_MAPPED:.*]]:2 = hlfir.declare %arg{{.*}} {uniq_name = "_QFfooEn"}
19+
! CHECK-LABEL: func.func @_QPfoo
20+
! CHECK: omp.target
21+
! CHECK-SAME: host_eval(%{{.*}} -> %{{.*}}, %{{.*}} -> %[[N_HOST_EVAL:.*]], %{{.*}} -> %{{.*}} : index, index, index)
22+
! CHECK-SAME: map_entries({{[^[:space:]]*}} -> {{[^[:space:]]*}},
23+
! CHECK-SAME: {{[^[:space:]]*}} -> {{[^[:space:]]*}}, {{[^[:space:]]*}} -> {{[^[:space:]]*}},
24+
! CHECK-SAME: {{[^[:space:]]*}} -> {{[^[:space:]]*}}, {{[^[:space:]]*}} -> %[[N_MAP_ARG:[^[:space:]]*]], {{.*}}) {
25+
! CHECK: %[[N_MAPPED:.*]]:2 = hlfir.declare %[[N_MAP_ARG]] {uniq_name = "_QFfooEn"}
2126
! CHECK: omp.teams {
2227
! CHECK: omp.parallel {
2328
! CHECK: omp.distribute {

0 commit comments

Comments
 (0)