[flang-commits] [flang] [Flang][Semantics] Add a semantic check for simd construct (PR #109089)
Thirumalai Shaktivel via flang-commits
flang-commits at lists.llvm.org
Mon Sep 30 01:40:50 PDT 2024
================
@@ -2156,6 +2156,16 @@ void OmpStructureChecker::Leave(const parser::OmpClauseList &) {
}
}
}
+
+ // 2.11.5 Simd construct restriction (OpenMP 5.1)
+ if (auto *clause{FindClause(llvm::omp::Clause::OMPC_safelen)}) {
+ if (FindClause(llvm::omp::Clause::OMPC_order)) {
----------------
Thirumalai-Shaktivel wrote:
Done!
https://github.com/llvm/llvm-project/pull/109089
More information about the flang-commits
mailing list