File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
flang/test/Semantics/OpenMP Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments