[Mlir-commits] [clang] [flang] [llvm] [mlir] [flang][OpenMP] Add frontend support for ompx_bare clause (PR #111106)

Sergio Afonso llvmlistbot at llvm.org
Fri Oct 11 03:15:06 PDT 2024


================
@@ -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 see, if it involves some slightly different semantics then I agree that it should be represented separately. In that case, having it attached to `omp.target` seems reasonable to me.

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


More information about the Mlir-commits mailing list