[all-commits] [llvm/llvm-project] a1fb02: release/21.x: [flang][OpenMP] Restore reduction pr...

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


  Branch: refs/heads/users/ergawy/cherry-pick-150178
  Home:   https://github.com/llvm/llvm-project
  Commit: a1fb0285324db6ebb5c9bca3ed25dde3a70c4f16
      https://github.com/llvm/llvm-project/commit/a1fb0285324db6ebb5c9bca3ed25dde3a70c4f16
  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:
  -----------
  release/21.x: [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