The bulk of this change are new tests to check that we get a "Not yet implemneted: *some stuff here*" message when using some not yet supported OpenMP functionality. For some of these cases, this also means adding additional clauses to a filter list in OpenMP.cpp - this changes nothing [to the best of my understanding] other than allowing the clause to get to the point where it can be rejected in a TODO with a more clear message. One of the TOOD filters were missing Mergeable clause, so this was also added and the existing test updated for the new more specific error message. There is no functional change intended here.
14 lines
395 B
Fortran
14 lines
395 B
Fortran
! RUN: %not_todo_cmd bbc -emit-fir -fopenmp -o - %s -fopenmp-version=50 2>&1 | FileCheck %s
|
|
! RUN: %not_todo_cmd %flang_fc1 -emit-fir -fopenmp -o - %s -fopenmp-version=50 2>&1 | FileCheck %s
|
|
|
|
! CHECK: not yet implemented: Taskloop construct
|
|
subroutine omp_taskloop
|
|
integer :: res, i
|
|
!$omp taskloop
|
|
do i = 1, 10
|
|
res = res + 1
|
|
end do
|
|
!$omp end taskloop
|
|
end subroutine omp_taskloop
|
|
|