[flang-commits] [flang] [mlir] [mlir][openmp][flang] - MLIR support for the depend clause (omp dialect) in offloading directives (PR #80626)
Sergio Afonso via flang-commits
flang-commits at lists.llvm.org
Mon Feb 5 05:14:45 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>(
----------------
skatrak wrote:
Can this check be moved to semantics? Perhaps flang/lib/Semantics/check-omp-structure.cpp would be a more suitable location.
https://github.com/llvm/llvm-project/pull/80626
More information about the flang-commits
mailing list