[clang] [llvm] [clang][OpenMP] New OpenMP 6.0 threadset clause (PR #135807)

Deepak Eachempati via llvm-commits llvm-commits at lists.llvm.org
Wed May 7 06:54:05 PDT 2025


================
@@ -3691,6 +3691,7 @@ CGOpenMPRuntime::emitTaskInit(CodeGenFunction &CGF, SourceLocation Loc,
     DestructorsFlag = 0x8,
     PriorityFlag = 0x20,
     DetachableFlag = 0x40,
+    PoolFlag = 0x80,
----------------
dreachem wrote:

For the runtime change in this PR, is it sufficient that we update `kmp_tasking_flags_t` with the corresponding flag we will be passing in for when `threadset(omp_pool)` is present? The spec allows for this flag to be essentially ignored in a compliant implementation, but it will allow someone else to pick it up and implement it in a subsequent patch. 

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


More information about the llvm-commits mailing list