[flang-commits] [flang] [llvm] [Flang][OpenMP]Add parsing support for DISPATCH construct (PR #121982)
Krzysztof Parzyszek via flang-commits
flang-commits at lists.llvm.org
Tue Jan 7 11:56:16 PST 2025
================
@@ -1688,6 +1688,14 @@ void OmpStructureChecker::Leave(const parser::OpenMPDeclareTargetConstruct &x) {
dirContext_.pop_back();
}
+void OmpStructureChecker::Enter(const parser::OpenMPDispatchConstruct &x) {
+ PushContextAndClauseSets(x.source, llvm::omp::Directive::OMPD_dispatch);
----------------
kparzysz wrote:
Could you add a check that the "block" is a single function/procedure call?
https://github.com/llvm/llvm-project/pull/121982
More information about the flang-commits
mailing list