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
5 changes: 3 additions & 2 deletions flang/lib/Lower/OpenMP/ClauseProcessor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -139,9 +139,10 @@ genDependKindAttr(lower::AbstractConverter &converter,
break;
case omp::clause::DependenceType::Mutexinoutset:
case omp::clause::DependenceType::Inoutset:
TODO(currentLocation, "INOUTSET and MUTEXINOUTSET are not supported yet");
break;
case omp::clause::DependenceType::Depobj:
TODO(currentLocation,
"INOUTSET, MUTEXINOUTSET and DEPOBJ dependence-types");
break;
case omp::clause::DependenceType::Sink:
case omp::clause::DependenceType::Source:
llvm_unreachable("unhandled parser task dependence type");
Expand Down
10 changes: 10 additions & 0 deletions flang/test/Lower/OpenMP/Todo/depend-clause-depobj.f90
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
!RUN: %not_todo_cmd bbc -emit-hlfir -fopenmp -fopenmp-version=52 -o - %s 2>&1 | FileCheck %s
!RUN: %not_todo_cmd %flang_fc1 -emit-hlfir -fopenmp -fopenmp-version=52 -o - %s 2>&1 | FileCheck %s

!CHECK: not yet implemented: INOUTSET, MUTEXINOUTSET and DEPOBJ dependence-types

subroutine f00(x)
integer :: x
!$omp task depend(depobj: x)
!$omp end task
end
2 changes: 1 addition & 1 deletion flang/test/Lower/OpenMP/Todo/depend-clause-inoutset.f90
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
!RUN: %not_todo_cmd bbc -emit-hlfir -fopenmp -fopenmp-version=52 -o - %s 2>&1 | FileCheck %s
!RUN: %not_todo_cmd %flang_fc1 -emit-hlfir -fopenmp -fopenmp-version=52 -o - %s 2>&1 | FileCheck %s

!CHECK: not yet implemented: INOUTSET and MUTEXINOUTSET are not supported yet
!CHECK: not yet implemented: INOUTSET, MUTEXINOUTSET and DEPOBJ dependence-types
subroutine f00(x)
integer :: x
!$omp task depend(inoutset: x)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
!RUN: %not_todo_cmd bbc -emit-hlfir -fopenmp -fopenmp-version=52 -o - %s 2>&1 | FileCheck %s
!RUN: %not_todo_cmd %flang_fc1 -emit-hlfir -fopenmp -fopenmp-version=52 -o - %s 2>&1 | FileCheck %s

!CHECK: not yet implemented: INOUTSET and MUTEXINOUTSET are not supported yet
!CHECK: not yet implemented: INOUTSET, MUTEXINOUTSET and DEPOBJ dependence-types
subroutine f00(x)
integer :: x
!$omp task depend(mutexinoutset: x)
Expand Down
Loading