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
34
34
35
35
big% r = 0
36
36
! $omp parallel do reduction(max:big)
37
- ! CHECK: big (OmpReduction): HostAssoc
37
+ ! CHECK: big (OmpReduction, OmpExplicit ): HostAssoc
38
38
! CHECK: max, INTRINSIC: ProcEntity
39
39
do i = 1 , n
40
40
big = mymax(values(i), big)
41
41
end do
42
42
43
43
small% r = 1
44
44
! $omp parallel do reduction(min:small)
45
- ! CHECK: small (OmpReduction): HostAssoc
45
+ ! CHECK: small (OmpReduction, OmpExplicit ): HostAssoc
46
46
do i = 1 , n
47
47
small% r = min (values(i)% r, small% r)
48
48
end do
Original file line number Diff line number Diff line change @@ -73,8 +73,8 @@ program test_vector
73
73
! $OMP parallel do reduction(+:v2)
74
74
! CHECK: OtherConstruct scope
75
75
! 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
78
78
79
79
do i = 1 , 100
80
80
v2(i) = v2(i) + v1(i) ! Invokes add_vectors
You can’t perform that action at this time.
0 commit comments