================ @@ -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) { ---------------- skatrak wrote:
Nit: Use `llvm::SmallVectorImpl` to avoid hardcoding the "small size" of the vector into the function definition. 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