Skip to content

Commit d12203c

Browse files
committed
Fix tests
I had to rebase to reproduce the test failure
1 parent d364848 commit d12203c

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

flang/test/Semantics/OpenMP/declare-reduction-mangled.f90

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,15 +34,15 @@ program omp_examples
3434

3535
big%r = 0
3636
!$omp parallel do reduction(max:big)
37-
!CHECK: big (OmpReduction): HostAssoc
37+
!CHECK: big (OmpReduction, OmpExplicit): HostAssoc
3838
!CHECK: max, INTRINSIC: ProcEntity
3939
do i = 1, n
4040
big = mymax(values(i), big)
4141
end do
4242

4343
small%r = 1
4444
!$omp parallel do reduction(min:small)
45-
!CHECK: small (OmpReduction): HostAssoc
45+
!CHECK: small (OmpReduction, OmpExplicit): HostAssoc
4646
do i = 1, n
4747
small%r = min(values(i)%r, small%r)
4848
end do

flang/test/Semantics/OpenMP/declare-reduction-operators.f90

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,8 @@ program test_vector
7373
!$OMP parallel do reduction(+:v2)
7474
!CHECK: OtherConstruct scope
7575
!CHECK: i (OmpPrivate, OmpPreDetermined): HostAssoc
76-
!CHECK: v1: HostAssoc
77-
!CHECK: v2 (OmpReduction): HostAssoc
76+
!CHECK: v1 (OmpShared): HostAssoc
77+
!CHECK: v2 (OmpReduction, OmpExplicit): HostAssoc
7878

7979
do i = 1, 100
8080
v2(i) = v2(i) + v1(i) ! Invokes add_vectors

0 commit comments

Comments
 (0)