[flang-commits] [flang] [mlir] [flang][OpenMP][MLIR] Basic support for delayed privatization code-gen (PR #81833)

Sergio Afonso via flang-commits flang-commits at lists.llvm.org
Fri Feb 16 03:10:50 PST 2024


================
@@ -147,6 +153,14 @@ static void genNestedEvaluations(Fortran::lower::AbstractConverter &converter,
 //===----------------------------------------------------------------------===//
 
 class DataSharingProcessor {
+public:
+  struct DelayedPrivatizationInfo {
+    llvm::SmallVector<mlir::SymbolRefAttr> privatizers;
+    llvm::SmallVector<mlir::Value> hostAddresses;
+    llvm::SmallVector<const Fortran::semantics::Symbol *> hostSymbols;
----------------
skatrak wrote:

Nit: What does "host" here refer to? Maybe a comment to define these fields would help.

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


More information about the flang-commits mailing list