Break circular dependency between FIR dialect and utilities
[llvm-project.git] / flang / test / Lower / OpenMP / taskwait.f90
blobeed4f1b84a226aef6092603e7c156c289f460827
1 !RUN: %flang_fc1 -emit-fir -fopenmp %s -o - | FileCheck %s --check-prefixes="FIRDialect,OMPDialect"
2 !RUN: %flang_fc1 -emit-fir -fopenmp %s -o - | fir-opt --fir-to-llvm-ir | FileCheck %s --check-prefixes="OMPDialect"
4 !FIRDialect-LABEL: @_QPomp_taskwait
5 subroutine omp_taskwait
6 !OMPDialect: omp.taskwait
7 !$omp taskwait
8 !FIRDialect: fir.call @_QPfoo() {{.*}}: () -> ()
9 call foo()
10 !OMPDialect: omp.taskwait
11 !$omp taskwait
12 end subroutine omp_taskwait