[flang-commits] [flang] [llvm] [flang][Lower] Lower OmpDependClause to Depend or Doacross (PR #175772)

Sergio Afonso via flang-commits flang-commits at lists.llvm.org
Tue Jan 13 07:55:36 PST 2026


================
@@ -1021,17 +1021,11 @@ bool ClauseProcessor::processDepend(lower::SymMap &symMap,
                                     mlir::omp::DependClauseOps &result) const {
   auto process = [&](const omp::clause::Depend &clause,
                      const parser::CharBlock &) {
-    using Depend = omp::clause::Depend;
-    if (!std::holds_alternative<Depend::TaskDep>(clause.u)) {
-      TODO(converter.getCurrentLocation(),
-           "DEPEND clause with SINK or SOURCE is not supported yet");
----------------
skatrak wrote:

Will a TODO still trigger elsewhere in the doacross case?

https://github.com/llvm/llvm-project/pull/175772


More information about the flang-commits mailing list