| 1 |
!RUN: %flang_fc1 -emit-hlfir -fopenmp %s -o - | FileCheck %s |
| 2 |
|
| 3 |
!CHECK-LABEL: func @_QPomp_masked |
| 4 |
subroutine omp_masked(threadId) |
| 5 |
integer :: threadId |
| 6 |
|
| 7 |
!CHECK: omp.masked { |
| 8 |
!$omp masked |
| 9 |
|
| 10 |
!CHECK: fir.call @_QPmasked() {{.*}}: () -> () |
| 11 |
call masked() |
| 12 |
|
| 13 |
!CHECK: omp.terminator |
| 14 |
!$omp end masked |
| 15 |
|
| 16 |
!CHECK: omp.masked filter({{.*}}) { |
| 17 |
!$omp masked filter(threadId) |
| 18 |
|
| 19 |
!CHECK: fir.call @_QPmaskedwithfilter() {{.*}}: () -> () |
| 20 |
call maskedWithFilter() |
| 21 |
|
| 22 |
!CHECK: omp.terminator |
| 23 |
!$omp end masked |
| 24 |
end subroutine omp_masked |
| 25 |
|