[all-commits] [llvm/llvm-project] 4d6604: [flang][OpenMP] Restore reduction processor behavi...

Kareem Ergawy via All-commits all-commits at lists.llvm.org
Thu Jul 24 03:03:51 PDT 2025


  Branch: refs/heads/release/21.x
  Home:   https://github.com/llvm/llvm-project
  Commit: 4d6604adf12a936ace0732111499efa80d29a46e
      https://github.com/llvm/llvm-project/commit/4d6604adf12a936ace0732111499efa80d29a46e
  Author: Kareem Ergawy <kareem.ergawy at amd.com>
  Date:   2025-07-24 (Thu, 24 Jul 2025)

  Changed paths:
    M flang/include/flang/Lower/Support/ReductionProcessor.h
    M flang/lib/Lower/Bridge.cpp
    M flang/lib/Lower/OpenMP/ClauseProcessor.cpp
    M flang/lib/Lower/Support/ReductionProcessor.cpp
    A flang/test/Lower/OpenMP/wsloop-reduction-non-intrinsic.f90

  Log Message:
  -----------
  [flang][OpenMP] Restore reduction processor behavior broken by #145837 (#150178)

Fixes #149089 and #149700.

Before #145837, when processing a reduction symbol not yet supported by
OpenMP lowering, the reduction processor would simply skip filling in
the reduction symbols and variables. With #145837, this behvaior was
slightly changed because the reduction symbols are populated before
invoking the reduction processor (this is more convenient to shared the
code with `do concurrent`).

This PR restores the previous behavior.

(cherry picked from commit 36c37b019b5daae79785e8558d693e6ec42b0ebd)



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list