[flang-commits] [mlir] [flang] [WIP] Delayed privatization. (PR #79862)

Kareem Ergawy via flang-commits flang-commits at lists.llvm.org
Mon Jan 29 09:12:46 PST 2024


================
@@ -487,15 +495,54 @@ void DataSharingProcessor::collectDefaultSymbols() {
   }
 }
 
-void DataSharingProcessor::privatize() {
+void DataSharingProcessor::privatize(
+    llvm::SetVector<mlir::omp::PrivateClauseOp> *privateInitializers) {
----------------
ergawy wrote:

For now, we do nothing with `privateInitializaers`. However, the plan is to populate this list and use it to link the created ops with the corresponding block arguments for the private variables.

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


More information about the flang-commits mailing list