[llvm] [Frontend][OpenMP] Allow implicit clauses to fail to apply (PR #100460)

Sergio Afonso via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 25 05:09:30 PDT 2024


================
@@ -1153,9 +1158,10 @@ template <typename C, typename H> bool ConstructDecompositionT<C, H>::split() {
   for (const ClauseTy *node : nodes) {
     if (skip(node))
       continue;
-    success =
-        success &&
+    bool result =
         std::visit([&](auto &&s) { return applyClause(s, node); }, node->u);
+    if (!isImplicit(node))
----------------
skatrak wrote:

Does this not have to be checked for `allocate` below?

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


More information about the llvm-commits mailing list