IR: de-duplicate two CmpInst routines (NFC) (#116866)
[llvm-project.git] / flang / test / Lower / OpenACC / acc-fixed-form.f
blob14391ebce59582ca701bf0fd77a16cd268112ec8
1 ! RUN: bbc -ffixed-form -fopenacc -emit-hlfir %s -o - | FileCheck %s
3 subroutine sub1()
4 real :: a(10, 10)
5 integer :: i, j
7 a = 0.0
9 c$acc parallel
10 do j = 1, 10
11 do i = 1, 10
12 a(i,j) = i*j
13 end do
14 end do
15 c$acc end parallel
17 *$acc parallel
18 do j = 1, 10
19 do i = 1, 10
20 a(i,j) = i*j
21 end do
22 end do
23 *$acc end parallel
25 !$acc parallel
26 do j = 1, 10
27 do i = 1, 10
28 a(i,j) = i*j
29 end do
30 end do
31 !$acc end parallel
33 end subroutine
35 ! CHECK-COUNT-3: acc.parallel