summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorergawy <kareem.ergawy@amd.com>2025-09-10 07:29:21 -0500
committerergawy <kareem.ergawy@amd.com>2025-09-10 07:29:21 -0500
commitc3865a144d9847f957ccb838c1b65df7b5d855a8 (patch)
tree87036773b5393f73f81c290f3ea504e3eb6b09d6
parentccad1a3d84a10786e82f354c3ecd61a37b22ffcc (diff)
-rw-r--r--flang/test/Transforms/DoConcurrent/use_loop_bounds_in_body.f909
1 files changed, 7 insertions, 2 deletions
diff --git a/flang/test/Transforms/DoConcurrent/use_loop_bounds_in_body.f90 b/flang/test/Transforms/DoConcurrent/use_loop_bounds_in_body.f90
index fad241fe539e..b467747293ac 100644
--- a/flang/test/Transforms/DoConcurrent/use_loop_bounds_in_body.f90
+++ b/flang/test/Transforms/DoConcurrent/use_loop_bounds_in_body.f90
@@ -16,8 +16,13 @@ subroutine foo(a, n)
end do
end subroutine
-! CHECK: omp.target host_eval(%{{.*}} -> %{{.*}}, %{{.*}} -> %[[N_HOST_EVAL:.*]], %{{.*}} -> %{{.*}} : {{.*}}) map_entries({{.*}}) {
-! CHECK: %[[N_MAPPED:.*]]:2 = hlfir.declare %arg{{.*}} {uniq_name = "_QFfooEn"}
+! CHECK-LABEL: func.func @_QPfoo
+! CHECK: omp.target
+! CHECK-SAME: host_eval(%{{.*}} -> %{{.*}}, %{{.*}} -> %[[N_HOST_EVAL:.*]], %{{.*}} -> %{{.*}} : index, index, index)
+! CHECK-SAME: map_entries({{[^[:space:]]*}} -> {{[^[:space:]]*}},
+! CHECK-SAME: {{[^[:space:]]*}} -> {{[^[:space:]]*}}, {{[^[:space:]]*}} -> {{[^[:space:]]*}},
+! CHECK-SAME: {{[^[:space:]]*}} -> {{[^[:space:]]*}}, {{[^[:space:]]*}} -> %[[N_MAP_ARG:[^[:space:]]*]], {{.*}}) {
+! CHECK: %[[N_MAPPED:.*]]:2 = hlfir.declare %[[N_MAP_ARG]] {uniq_name = "_QFfooEn"}
! CHECK: omp.teams {
! CHECK: omp.parallel {
! CHECK: omp.distribute {