[flang-commits] [flang] [flang][OpenMP][MLIR] Basic support for delayed privatization code-gen (PR #81833)
Kareem Ergawy via flang-commits
flang-commits at lists.llvm.org
Sun Feb 18 03:27:06 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;
----------------
ergawy wrote:
I think "original" is a more appropriate adjective here. This is SSA value outside the OMP region that is being privatized. I changed the name and added some docs. Let me know if this is still not clear.
https://github.com/llvm/llvm-project/pull/81833
More information about the flang-commits
mailing list