Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions flang/test/Lower/OpenMP/Todo/allocate-clause-align.f90
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
! RUN: %not_todo_cmd %flang_fc1 -emit-fir -fopenmp -fopenmp-version=51 -o - %s 2>&1 | FileCheck %s

! CHECK: not yet implemented: OmpAllocateClause ALIGN modifier
program p
integer :: x
integer :: a
integer :: i
!$omp parallel private(x) allocate(align(4): x)
do i=1,10
a = a + i
end do
!$omp end parallel
end program p
16 changes: 16 additions & 0 deletions flang/test/Lower/OpenMP/Todo/allocate-clause-allocator.f90
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
! REQUIRES: openmp_runtime
! RUN: %not_todo_cmd %flang_fc1 -emit-llvm -fopenmp -fopenmp-version=51 -o - %s 2>&1 | FileCheck %s

! CHECK: not yet implemented: Unhandled clause allocate in omp.parallel
! CHECK: LLVM Translation failed for operation: omp.parallel
program p
use omp_lib
integer :: x
integer :: a
integer :: i
!$omp parallel private(x) allocate(allocator(omp_default_mem_alloc): x)
do i=1,10
a = a + i
end do
!$omp end parallel
end program p
Loading