Skip to content

Commit 70daa01

Browse files
committed
Fix lower test for workshare
1 parent e578918 commit 70daa01

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

flang/test/Lower/OpenMP/workshare.f90

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ subroutine sb1(arr)
66
integer :: arr(:)
77
!CHECK: omp.parallel {
88
!$omp parallel
9-
!CHECK: omp.single {
9+
!CHECK: omp.workshare {
1010
!$omp workshare
1111
arr = 0
1212
!$omp end workshare
@@ -20,7 +20,7 @@ subroutine sb2(arr)
2020
integer :: arr(:)
2121
!CHECK: omp.parallel {
2222
!$omp parallel
23-
!CHECK: omp.single nowait {
23+
!CHECK: omp.workshare nowait {
2424
!$omp workshare
2525
arr = 0
2626
!$omp end workshare nowait
@@ -33,7 +33,7 @@ subroutine sb2(arr)
3333
subroutine sb3(arr)
3434
integer :: arr(:)
3535
!CHECK: omp.parallel {
36-
!CHECK: omp.single {
36+
!CHECK: omp.workshare {
3737
!$omp parallel workshare
3838
arr = 0
3939
!$omp end parallel workshare

0 commit comments

Comments
 (0)