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

Valentin Clement バレンタイン クレメン llvmlistbot at llvm.org
Mon Jan 29 11:36:38 PST 2024


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

Why don't you simply use the scope mechanism (push/pop scope)? 

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


More information about the Mlir-commits mailing list