mirror of
https://github.com/clang-retro/llvm.git
synced 2026-12-03 15:50:34 -08:00
These are version of tests with the same name in flang/test/Lower/OpenMP/FIR.
12 lines
291 B
Fortran
12 lines
291 B
Fortran
!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
|