[flang-commits] [flang] [Flang][OpenMP] Correct ArrayElements in Reduction Clause (PR #196094)
Jack Styles via flang-commits
flang-commits at lists.llvm.org
Wed May 13 06:49:34 PDT 2026
================
@@ -319,43 +333,75 @@ static void bindEntryBlockArgs(lower::AbstractConverter &converter,
bindSingleMapLike(*sym, arg);
};
- auto bindPrivateLike = [&converter, &firOpBuilder](
+ llvm::SmallPtrSet<const semantics::Symbol *, 8> objectReductionSyms;
----------------
Stylie777 wrote:
I missed this when reviewing and that is too large really, I have reduced it to 2 as I would expect most cases won't have more objects than that in one reduction clause. If you disagree let me know.
https://github.com/llvm/llvm-project/pull/196094
More information about the flang-commits
mailing list