[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:35 PDT 2026
================
@@ -75,6 +75,20 @@ static void processHostEvalClauses(lower::AbstractConverter &converter,
mlir::Location loc);
namespace {
+static bool isReductionObjectExpression(const Object *object) {
----------------
Stylie777 wrote:
Yes, the intention is to be able expand this in the future, especially for things such as Array Sections as this suffers from the same issue currently of reducing the full array, and not the just the section we want. I have renamed this to your suggestion and added a TODO to represent there is more work to do here.
https://github.com/llvm/llvm-project/pull/196094
More information about the flang-commits
mailing list