DAG: Fix assuming f16 is the only 16-bit fp type in concat vector combine (#121637)
[llvm-project.git] / flang / test / Lower / OpenMP / taskgroup.f90
blob3828627be4f5b7553d685edf79ea148e1d21a923
1 ! REQUIRES: openmp_runtime
3 !RUN: %flang_fc1 -emit-hlfir %openmp_flags %s -o - | FileCheck %s
5 ! The "allocate" clause has been removed, because it needs to be used
6 ! together with a privatizing clause. The only such clause for "taskgroup"
7 ! is "task_reduction", but it's not yet supported.
9 !CHECK-LABEL: @_QPomp_taskgroup
10 subroutine omp_taskgroup
11 !CHECK: omp.taskgroup
12 !$omp taskgroup
13 !CHECK: omp.task
14 !$omp task
15 !CHECK: fir.call @_QPwork() {{.*}}: () -> ()
16 call work()
17 !CHECK: omp.terminator
18 !$omp end task
19 !CHECK: omp.terminator
20 !$omp end taskgroup
21 end subroutine