[llvm-branch-commits] [mlir] [MLIR][OpenMP] Add host_eval clause to omp.target (PR #116049)

Anchu Rajendran S via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Wed Jan 8 14:37:03 PST 2025


================
@@ -1166,9 +1166,10 @@ def TargetOp : OpenMP_Op<"target", traits = [
   ], clauses = [
     // TODO: Complete clause list (defaultmap, uses_allocators).
     OpenMP_AllocateClause, OpenMP_DependClause, OpenMP_DeviceClause,
-    OpenMP_HasDeviceAddrClause, OpenMP_IfClause, OpenMP_InReductionClause,
-    OpenMP_IsDevicePtrClause, OpenMP_MapClauseSkip<assemblyFormat = true>,
-    OpenMP_NowaitClause, OpenMP_PrivateClause, OpenMP_ThreadLimitClause
+    OpenMP_HasDeviceAddrClause, OpenMP_HostEvalClause, OpenMP_IfClause,
----------------
anchuraj wrote:

I dont think it is a `Pseudo` clause, I think  its more of an `Internal` / `Private` clause. I am not able to come up with better alternatives. Since you have documented about the clause well,  please feel free to skip the suggestion.

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


More information about the llvm-branch-commits mailing list