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

Kareem Ergawy via All-commits all-commits at lists.llvm.org
Wed Jul 23 02:26:13 PDT 2025


  Branch: refs/heads/users/ergawy/cherry-pick-150178
  Home:   https://github.com/llvm/llvm-project
  Commit: 8bb59a41b88e496cd9c7559a424a890d25ffb06c
      https://github.com/llvm/llvm-project/commit/8bb59a41b88e496cd9c7559a424a890d25ffb06c
  Author: Kareem Ergawy <kareem.ergawy at amd.com>
  Date:   2025-07-23 (Wed, 23 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.



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