File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -798,8 +798,10 @@ bool ClauseProcessor::processDepend(mlir::omp::DependClauseOps &result) const {
798798 auto process = [&](const omp::clause::Depend &clause,
799799 const parser::CharBlock &) {
800800 using Depend = omp::clause::Depend;
801- assert (std::holds_alternative<Depend::DepType>(clause.u ) &&
802- " Only the form with depenence type is handled at the moment" );
801+ if (!std::holds_alternative<Depend::DepType>(clause.u )) {
802+ TODO (converter.getCurrentLocation (),
803+ " DEPEND clause with SINK or SOURCE is not supported yet" );
804+ }
803805 auto &depType = std::get<Depend::DepType>(clause.u );
804806 auto kind = std::get<Depend::TaskDependenceType>(depType.t );
805807 auto &objects = std::get<omp::ObjectList>(depType.t );
You can’t perform that action at this time.
0 commit comments