[flang-commits] [flang] [llvm] [flang][Lower] Lower OmpDependClause to Depend or Doacross (PR #175772)
Krzysztof Parzyszek via flang-commits
flang-commits at lists.llvm.org
Tue Jan 13 08:03:42 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");
----------------
kparzysz wrote:
`doacross` can only appear on standalone `ordered`, and we don't generate that op at the moment: https://github.com/llvm/llvm-project/blob/main/flang/lib/Lower/OpenMP/OpenMP.cpp#L2329-L2337
https://github.com/llvm/llvm-project/pull/175772
More information about the flang-commits
mailing list