[clang] [llvm] [mlir] [openmp] [Clang][OpenMP] Switch to __kmpc_parallel_60 with strict parameter (PR #171082)

Shilei Tian via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 8 06:50:42 PST 2025


================
@@ -1303,9 +1303,11 @@ void CGOpenMPRuntimeGPU::emitParallelCall(
         ID,
         Bld.CreateBitOrPointerCast(CapturedVarsAddrs.emitRawPointer(CGF),
                                    CGF.VoidPtrPtrTy),
-        llvm::ConstantInt::get(CGM.SizeTy, CapturedVars.size())};
+        llvm::ConstantInt::get(CGM.SizeTy, CapturedVars.size()),
+        llvm::ConstantInt::get(CGF.Int32Ty, 0)};
----------------
shiltian wrote:

nit: add a comment saying what this 0 means when it is not 6.0.

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


More information about the llvm-commits mailing list