[flang-commits] [PATCH] D94087: [flang][openmp]At most one threads, simd and depend clause can appear on OpenMP ORDERED construct.

Kiran Chandramohan via Phabricator via flang-commits flang-commits at lists.llvm.org
Tue Jan 5 07:39:31 PST 2021


kiranchandramohan added a comment.

Two quick questions.



================
Comment at: flang/test/Semantics/omp-clause-validity01.f90:489
+  !ERROR: At most one DEPEND clause can appear on the ORDERED directive
+  !$omp ordered depend(source) depend(source)
+  !ERROR: At most one THREADS clause can appear on the ORDERED directive
----------------
Will this catch two or more depend(sink: v) clauses accidentally?
```
At most one depend(source) clause can appear on an ordered construct.
```

Can threads, simd occur with depend? Is that handled by the parser?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D94087/new/

https://reviews.llvm.org/D94087



More information about the flang-commits mailing list