================
@@ -1103,6 +1105,13 @@ bool ConstructDecompositionT<C, H>::applyClause(
   return applyToOutermost(node);
 }
 
+template <typename C, typename H>
+bool ConstructDecompositionT<C, H>::applyClause(
+    const tomp::clause::OmpxBareT<TypeTy, IdTy, ExprTy> &clause,
+    const ClauseTy *node) {
+  return applyToAll(node);
----------------
skatrak wrote:

I thought about this a bit more, and perhaps we should apply it only to the 
innermost (i.e. `teams`). The reason I'm thinking this is that in that case it 
could be processed the same as a `thread_limit` + a `num_teams` clause attached 
to that construct. In that case, we wouldn't need to explicitly represent 
`ompx_bare` in the dialect either, we'd only update these other clauses to 
accept multiple dimensions.

https://github.com/llvm/llvm-project/pull/111106
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to