[flang-commits] [mlir] [flang] [mlir][openmp][flang] - MLIR support for the depend clause (omp dialect) in offloading directives (PR #80626)

Pranav Bhandarkar via flang-commits flang-commits at lists.llvm.org
Mon Feb 5 07:13:49 PST 2024


================
@@ -1753,6 +1753,21 @@ bool ClauseProcessor::processDepend(
   return findRepeatableClause<ClauseTy::Depend>(
       [&](const ClauseTy::Depend *dependClause,
           const Fortran::parser::CharBlock &) {
+        Fortran::parser::DumpTree(llvm::errs(), *dependClause);
+        if (std::holds_alternative<Fortran::parser::OmpDependClause::Source>(
----------------
bhandarkar-pranav wrote:

Thanks for the comment. I'll look to move this to semantics.

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


More information about the flang-commits mailing list