@@ -27,7 +27,7 @@ subroutine omp_target_enter_depend
27
27
! $omp task depend(out: a)
28
28
call foo(a)
29
29
! $omp end task
30
- ! CHECK: omp.task mergeable depend(taskdependin -> %[[A]]#1 : !fir.ref<!fir.array<1024xi32>>) {
30
+ ! CHECK: omp.task if(%false) depend(taskdependin -> %[[A]]#1 : !fir.ref<!fir.array<1024xi32>>) {
31
31
! CHECK: %[[BOUNDS:.*]] = omp.map.bounds lower_bound({{.*}}) upper_bound({{.*}}) extent({{.*}}) stride({{.*}}) start_idx({{.*}})
32
32
! CHECK: %[[MAP:.*]] = omp.map.info var_ptr({{.*}}) map_clauses(to) capture(ByRef) bounds(%[[BOUNDS]]) -> !fir.ref<!fir.array<1024xi32>> {name = "a"}
33
33
! CHECK: omp.target_enter_data map_entries(%[[MAP]] : !fir.ref<!fir.array<1024xi32>>)
@@ -168,7 +168,7 @@ subroutine omp_target_exit_depend
168
168
call foo(a)
169
169
! $omp end task
170
170
171
- ! CHECK: omp.task mergeable depend(taskdependout -> %[[A]]#1 : !fir.ref<!fir.array<1024xi32>>)
171
+ ! CHECK: omp.task if(%false) depend(taskdependout -> %[[A]]#1 : !fir.ref<!fir.array<1024xi32>>)
172
172
! CHECK: %[[BOUNDS:.*]] = omp.map.bounds lower_bound({{.*}}) upper_bound({{.*}}) extent({{.*}}) stride({{.*}}) start_idx({{.*}})
173
173
! CHECK: %[[MAP:.*]] = omp.map.info var_ptr({{.*}}) map_clauses(from) capture(ByRef) bounds(%[[BOUNDS]]) -> !fir.ref<!fir.array<1024xi32>> {name = "a"}
174
174
! CHECK: omp.target_exit_data map_entries(%[[MAP]] : !fir.ref<!fir.array<1024xi32>>)
@@ -190,7 +190,7 @@ subroutine omp_target_update_depend
190
190
call foo(a)
191
191
! $omp end task
192
192
193
- ! CHECK: omp.task mergeable depend(taskdependin -> %[[A]]#1 : !fir.ref<!fir.array<1024xi32>>) {
193
+ ! CHECK: omp.task if(%false) depend(taskdependin -> %[[A]]#1 : !fir.ref<!fir.array<1024xi32>>) {
194
194
! CHECK: %[[BOUNDS:.*]] = omp.map.bounds
195
195
! CHECK: %[[MAP:.*]] = omp.map.info var_ptr(%[[A]]#0 : !fir.ref<!fir.array<1024xi32>>, !fir.array<1024xi32>) map_clauses(to) capture(ByRef) bounds(%[[BOUNDS]]) -> !fir.ref<!fir.array<1024xi32>> {name = "a"}
196
196
! CHECK: omp.target_update motion_entries(%[[MAP]] : !fir.ref<!fir.array<1024xi32>>)
@@ -372,7 +372,7 @@ subroutine omp_target_depend
372
372
call foo(a)
373
373
! $omp end task
374
374
375
- ! CHECK: omp.task mergeable depend(taskdependin -> %[[A]]#1 : !fir.ref<!fir.array<1024xi32>>) {
375
+ ! CHECK: omp.task if(%false) depend(taskdependin -> %[[A]]#1 : !fir.ref<!fir.array<1024xi32>>) {
376
376
! CHECK: %[[STRIDE_A:.*]] = arith.constant 1 : index
377
377
! CHECK: %[[LBOUND_A:.*]] = arith.constant 0 : index
378
378
! CHECK: %[[UBOUND_A:.*]] = arith.subi %c1024, %c1 : index
0 commit comments