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

Kareem Ergawy llvmlistbot at llvm.org
Mon Jan 29 22:19:11 PST 2024


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

The 2nd commit in the PR uses the push/pop scope mechanism. Maybe adding an getter to the symbol map is not the best approach (instead we might want to pass down the `Fortran::lower::SymMap &symTable` parameter from `genOMP`. 

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


More information about the Mlir-commits mailing list