[llvm-branch-commits] [flang] [Flang][OpenMP] Derived type explicit allocatable member mapping (PR #96266)

via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Mon Jul 15 07:04:58 PDT 2024


================
@@ -52,12 +52,22 @@ using DeclareTargetCapturePair =
 struct OmpMapMemberIndicesData {
   // The indices representing the component members placement in its derived
   // type parents hierarchy.
-  llvm::SmallVector<int> memberPlacementIndices;
+  llvm::SmallVector<llvm::SmallVector<int>> memberPlacementIndices;
 
   // Placement of the member in the member vector.
-  mlir::omp::MapInfoOp memberMap;
+  llvm::SmallVector<mlir::omp::MapInfoOp> memberMap;
 };
 
+llvm::SmallVector<int>
+generateMemberPlacementIndices(const Object &object,
----------------
agozillon wrote:

Nope! Bit of an artifact from merging the last PR stack on top of what I was working on after it had been altered in review and I apparently missed this one! Thank you for catching it :D

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


More information about the llvm-branch-commits mailing list