CodeQL / Analyze (actions) (push) Canceled after 0s
CodeQL / Analyze (python) (push) Canceled after 0s
pre-commit / pre-commit (push) Canceled after 0s
Multi-Arch CI / setup (push) Canceled after 0s
Publish build_manylinux_x86_64 images / publish_build_manylinux_x86_64 (push) Canceled after 0s
Setup (Multi-Arch) / setup (push) Canceled after 0s
Multi-Arch CI / Linux::${{ fromJSON(needs.setup.outputs.linux_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubi10 image / publish_no_rocm_image_ubi10 (push) Canceled after 0s
Multi-Arch CI / Windows::${{ fromJSON(needs.setup.outputs.windows_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Multi-Arch CI / Manifest Diff (push) Canceled after 0s
TheRock Manifest Diff Report / Generate Manifest Diff Report (push) Canceled after 0s
Multi-Arch CI / CI Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_ocl_rt images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_rocgdb images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Unit Tests / Unit Tests :: ubuntu-24.04 (push) Canceled after 0s
Unit Tests / Unit Tests :: windows-2022 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_media (push) Canceled after 0s
Unit Tests / Unit Tests Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_openmpi (push) Canceled after 0s
56 lines
2.2 KiB
Fortran
56 lines
2.2 KiB
Fortran
!RUN: %flang_fc1 -fdebug-unparse -fopenmp -fopenmp-version=50 %s | FileCheck --ignore-case --check-prefix="UNPARSE" %s
|
|
!RUN: %flang_fc1 -fdebug-dump-parse-tree -fopenmp -fopenmp-version=50 %s | FileCheck --check-prefix="PARSE-TREE" %s
|
|
|
|
program omp_simd
|
|
integer i
|
|
integer, allocatable :: a(:)
|
|
|
|
allocate(a(10))
|
|
|
|
!$omp simd nontemporal(a)
|
|
do i = 1, 10
|
|
a(i) = i
|
|
end do
|
|
!$omp end simd
|
|
end program omp_simd
|
|
|
|
!UNPARSE: PROGRAM OMP_SIMD
|
|
!UNPARSE: INTEGER i
|
|
!UNPARSE: INTEGER, ALLOCATABLE :: a(:)
|
|
!UNPARSE: ALLOCATE(a(10_4))
|
|
!UNPARSE: !$OMP SIMD NONTEMPORAL(a)
|
|
!UNPARSE: DO i=1_4,10_4
|
|
!UNPARSE: a(__builtin_int(i,kind=8))=i
|
|
!UNPARSE: END DO
|
|
!UNPARSE: !$OMP END SIMD
|
|
!UNPARSE: END PROGRAM OMP_SIMD
|
|
|
|
!PARSE-TREE: ExecutionPartConstruct -> ExecutableConstruct -> OpenMPConstruct -> OpenMPLoopConstruct
|
|
!PARSE-TREE: | OmpBeginDirective
|
|
!PARSE-TREE: | | OmpDirectiveName -> llvm::omp::Directive = simd
|
|
!PARSE-TREE: | | OmpClauseList -> OmpClause -> Nontemporal -> OmpObjectList -> OmpObject -> Designator -> DataRef -> Name = 'a'
|
|
!PARSE-TREE: | | Flags = {}
|
|
!PARSE-TREE: | Block
|
|
!PARSE-TREE: | | ExecutionPartConstruct -> ExecutableConstruct -> DoConstruct
|
|
!PARSE-TREE: | | | NonLabelDoStmt
|
|
!PARSE-TREE: | | | | LoopControl -> LoopBounds
|
|
!PARSE-TREE: | | | | | Scalar -> Name = 'i'
|
|
!PARSE-TREE: | | | | | Scalar -> Expr = '1_4'
|
|
!PARSE-TREE: | | | | | | LiteralConstant -> IntLiteralConstant = '1'
|
|
!PARSE-TREE: | | | | | Scalar -> Expr = '10_4'
|
|
!PARSE-TREE: | | | | | | LiteralConstant -> IntLiteralConstant = '10'
|
|
!PARSE-TREE: | | | Block
|
|
!PARSE-TREE: | | | | ExecutionPartConstruct -> ExecutableConstruct -> ActionStmt -> AssignmentStmt = 'a(__builtin_int(i,kind=8))=i'
|
|
!PARSE-TREE: | | | | | Variable = 'a(__builtin_int(i,kind=8))'
|
|
!PARSE-TREE: | | | | | | Designator -> DataRef -> ArrayElement
|
|
!PARSE-TREE: | | | | | | | DataRef -> Name = 'a'
|
|
!PARSE-TREE: | | | | | | | SectionSubscript -> Integer -> Expr = 'i'
|
|
!PARSE-TREE: | | | | | | | | Designator -> DataRef -> Name = 'i'
|
|
!PARSE-TREE: | | | | | Expr = 'i'
|
|
!PARSE-TREE: | | | | | | Designator -> DataRef -> Name = 'i'
|
|
!PARSE-TREE: | | | EndDoStmt ->
|
|
!PARSE-TREE: | OmpEndDirective
|
|
!PARSE-TREE: | | OmpDirectiveName -> llvm::omp::Directive = simd
|
|
!PARSE-TREE: | | OmpClauseList ->
|
|
!PARSE-TREE: | | Flags = {}
|