[flang-commits] [llvm] [flang] [mlir] [flang][mlir][OpenMP] Add support for COPYPRIVATE (PR #73128)

Kiran Chandramohan via flang-commits flang-commits at lists.llvm.org
Wed Dec 20 16:12:12 PST 2023


================
@@ -3992,7 +3992,9 @@ OpenMPIRBuilder::createCopyPrivate(const LocationDescription &Loc,
 
 OpenMPIRBuilder::InsertPointTy OpenMPIRBuilder::createSingle(
     const LocationDescription &Loc, BodyGenCallbackTy BodyGenCB,
-    FinalizeCallbackTy FiniCB, bool IsNowait, llvm::Value *DidIt) {
+    FinalizeCallbackTy FiniCB, bool IsNowait, llvm::Value *DidIt,
+    const SmallVector<llvm::Value *> &CPVars,
+    const SmallVector<llvm::Function *> &CPFuncs) {
----------------
kiranchandramohan wrote:

If it is read-only, this can be llvm::ArrayRef.

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


More information about the flang-commits mailing list