bolt/deps/llvm-18.1.8/flang/test/Lower/OpenMP/taskwait.f90

12 lines
284 B
Fortran
Raw Normal View History

2025-02-14 19:21:04 +01:00
!RUN: %flang_fc1 -emit-hlfir -fopenmp %s -o - | FileCheck %s
!CHECK-LABEL: @_QPomp_taskwait
subroutine omp_taskwait
!CHECK: omp.taskwait
!$omp taskwait
!CHECK: fir.call @_QPfoo() {{.*}}: () -> ()
call foo()
!CHECK: omp.taskwait
!$omp taskwait
end subroutine omp_taskwait