File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -15,26 +15,32 @@ module m1
1515
1616! CHECK-LABEL: omp.private {type = private} @_QMm1Ftest_class_allocatable_array
1717! CHECK: fir.call @_FortranAInitialize
18+ ! CHECK-NOT: omp.barrier
1819! CHECK: omp.yield
1920
2021! CHECK-LABEL: omp.private {type = private} @_QMm1Ftest_class_allocatable
2122! CHECK: fir.call @_FortranAInitialize
23+ ! CHECK-NOT: omp.barrier
2224! CHECK: omp.yield
2325
2426! CHECK-LABEL: omp.private {type = private} @_QMm1Ftest_allocatable
2527! CHECK: fir.call @_FortranAInitialize
28+ ! CHECK-NOT: omp.barrier
2629! CHECK: omp.yield
2730
2831! CHECK-LABEL: omp.private {type = private} @_QMm1Ftest_pointer
2932! CHECK-NOT: fir.call @_FortranAInitializeClone
33+ ! CHECK-NOT: omp.barrier
3034! CHECK: omp.yield
3135
3236! CHECK-LABEL: omp.private {type = private} @_QMm1Ftest_nested
3337! CHECK: fir.call @_FortranAInitializeClone
38+ ! CHECK-NOT: omp.barrier
3439! CHECK: omp.yield
3540
3641! CHECK-LABEL: omp.private {type = private} @_QMm1Ftest_array_of_allocs
3742! CHECK: fir.call @_FortranAInitializeClone
43+ ! CHECK-NOT: omp.barrier
3844! CHECK: omp.yield
3945! CHECK: } dealloc {
4046! CHECK: fir.call @_FortranAAllocatableDeallocate
@@ -43,15 +49,18 @@ module m1
4349! CHECK-LABEL: omp.private {type = firstprivate} @_QMm1Ftest_array
4450! CHECK: fir.call @_FortranAInitialize(
4551! CHECK-NOT: fir.call @_FortranAInitializeClone
52+ ! CHECK-NOT: omp.barrier
4653! CHECK: omp.yield
4754
4855! CHECK-LABEL: omp.private {type = private} @_QMm1Ftest_array
4956! CHECK: fir.call @_FortranAInitialize(
5057! CHECK: fir.call @_FortranAInitializeClone
58+ ! CHECK-NOT: omp.barrier
5159! CHECK: omp.yield
5260
5361! CHECK-LABEL: omp.private {type = private} @_QMm1Ftest_scalar
5462! CHECK: fir.call @_FortranAInitializeClone
63+ ! CHECK-NOT: omp.barrier
5564! CHECK: omp.yield
5665
5766 subroutine test_scalar ()
You can’t perform that action at this time.
0 commit comments