[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
Fri Aug 2 00:03:02 PDT 2024
================
@@ -671,4 +672,51 @@ static inline bool isEqual(const Fortran::lower::SomeExpr *x,
}
} // end namespace Fortran::lower
+// OpenMP utility functions used in locations outside of the
+// OpenMP lowering.
+namespace Fortran::lower::omp {
+
+[[maybe_unused]] static void fillMemberIndices(
+ llvm::SmallVector<llvm::SmallVector<int>> &memberPlacementData) {
----------------
agozillon wrote:
It seems to only be feasible to do this with the other portion of the vector, which I've done, the nested vector will yield some compiler errors unfortunately. It is always highly possible I am missing something though!
https://github.com/llvm/llvm-project/pull/96266
More information about the llvm-branch-commits
mailing list