[flang-commits] [flang] [mlir] [MLIR][OpenMP] Support for dispatch construct with clauses nocontext & novariants (PR #215877)

Abid Qadeer via flang-commits flang-commits at lists.llvm.org
Wed Sep 9 07:17:54 PDT 2026


================
@@ -572,6 +572,17 @@ static LogicalResult checkImplementationStatus(Operation &op) {
         checkTaskReductionByref(op, result);
       })
       .Case([&](omp::TaskwaitOp op) { checkNowait(op, result); })
+      .Case([&](omp::DispatchOp op) {
+        // In OpenMP 5.0/5.1 `dispatch` creates an implicit task and `nowait`
----------------
abidh wrote:

nit: the openmp 5.1 spec says "This construct creates an explicit task"

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


More information about the flang-commits mailing list