Files
clang-p2996/flang/test/Parser/OpenMP/tile.f90
Kiran Chandramohan 3ad806a480 [Flang][OpenMP] NFC: Move OpenMP parser tests to a sub-directory
Now that the test files are in the OpenMP subdirectory, remove the
`omp` prefix.
2023-02-25 10:56:53 +00:00

24 lines
542 B
Fortran

! RUN: %flang_fc1 -fdebug-unparse -fopenmp %s | FileCheck --ignore-case %s
! RUN: %flang_fc1 -fdebug-dump-parse-tree -fopenmp %s | FileCheck --check-prefix="PARSE-TREE" %s
subroutine openmp_tiles(x)
integer, intent(inout)::x
!CHECK: !$omp tile
!$omp tile
!CHECK: do
do x = 1, 100
call F1()
!CHECK: end do
end do
!CHECK: !$omp end tile
!$omp end tile
!PARSE-TREE: OpenMPConstruct -> OpenMPLoopConstruct
!PARSE-TREE: OmpBeginLoopDirective
!PARSE-TREE: OmpLoopDirective -> llvm::omp::Directive = tile
END subroutine openmp_tiles