================ @@ -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, ---------------- skatrak wrote:
When this duplication is addressed, I think the variant taking a `SmallVectorImpl<int> &` argument to be used as output should be the one we should stick with. https://github.com/llvm/llvm-project/pull/96266 _______________________________________________ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits