[llvm-branch-commits] [flang] [flang][OpenMP] Move clause/object conversion to happen early, in genOMP (PR #87086)
Sergio Afonso via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Tue Apr 2 04:08:24 PDT 2024
================
@@ -58,17 +58,15 @@ void gatherFuncAndVarSyms(
const ObjectList &objects, mlir::omp::DeclareTargetCaptureClause clause,
llvm::SmallVectorImpl<DeclareTargetCapturePair> &symbolAndClause);
+int64_t getCollapseValue(const List<Clause> &clauses);
----------------
skatrak wrote:
It looks like this function is only used within OpenMP.cpp, is it expected to be used elsewhere later? Otherwise it may make more sense to make it internal (`static`) to that compilation unit instead.
https://github.com/llvm/llvm-project/pull/87086
More information about the llvm-branch-commits
mailing list