[flang-commits] [flang] Adding parsing and semantic check support for omp masked (PR #91432)

Sergio Afonso via flang-commits flang-commits at lists.llvm.org
Fri May 10 03:14:04 PDT 2024


================
@@ -1503,6 +1503,12 @@ bool OmpAttributeVisitor::Pre(const parser::OpenMPBlockConstruct &x) {
   const auto &beginBlockDir{std::get<parser::OmpBeginBlockDirective>(x.t)};
   const auto &beginDir{std::get<parser::OmpBlockDirective>(beginBlockDir.t)};
   switch (beginDir.v) {
+  case llvm::omp::Directive::OMPD_masked_taskloop_simd:
----------------
skatrak wrote:

Remove TASKLOOP-related enums from here and `Post(const parser::OpenMPBlockConstruct &)` and instead introduce them in the `Pre` method for `OpenMPLoopConstruct`.

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


More information about the flang-commits mailing list