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

12 lines
291 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_taskyield
subroutine omp_taskyield
!CHECK: omp.taskyield
!$omp taskyield
!CHECK: fir.call @_QPfoo() {{.*}}: () -> ()
call foo()
!CHECK: omp.taskyield
!$omp taskyield
end subroutine omp_taskyield