[flang-commits] [flang] [Flang][OpenMP] Correct ArrayElements in Reduction Clause (PR #196094)

Tom Eccles via flang-commits flang-commits at lists.llvm.org
Fri May 8 06:33:14 PDT 2026


================
@@ -22,12 +23,14 @@ namespace Fortran::common::openmp {
 struct EntryBlockArgsEntry {
   llvm::ArrayRef<const Fortran::semantics::Symbol *> syms;
   llvm::ArrayRef<mlir::Value> vars;
+  llvm::ArrayRef<const Fortran::lower::omp::Object *> objs;
 
   bool isValid() const {
     // This check allows specifying a smaller number of symbols than values
     // because in some case cases a single symbol generates multiple block
     // arguments.
----------------
tblah wrote:

nit: update this comment

https://github.com/llvm/llvm-project/pull/196094


More information about the flang-commits mailing list