[llvm-branch-commits] [flang] [llvm] [mlir] [MLIR][OpenMP] Introduce overlapped record type map support (PR #119588)

Sergio Afonso via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Fri Jan 24 06:38:58 PST 2025


================
@@ -3110,6 +3132,91 @@ calculateBoundsOffset(LLVM::ModuleTranslation &moduleTranslation,
   return idx;
 }
 
+// Gathers members that are overlapping in the parent, excluding members that
+// themselves overlap, keeping the top-most (closest to parents level) map.
+static void getOverlappedMembers(llvm::SmallVector<size_t> &overlapMapDataIdxs,
----------------
skatrak wrote:

```suggestion
static void getOverlappedMembers(llvm::SmallVectorImpl<size_t> &overlapMapDataIdxs,
```

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


More information about the llvm-branch-commits mailing list