[all-commits] [llvm/llvm-project] 25f29e: [flang][OpenMP] Update all `lastprivate` symbols, ...

Kareem Ergawy via All-commits all-commits at lists.llvm.org
Tue Feb 4 06:53:08 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 25f29ee377b1b83b276308c1947de774ee01a4fe
      https://github.com/llvm/llvm-project/commit/25f29ee377b1b83b276308c1947de774ee01a4fe
  Author: Kareem Ergawy <kareem.ergawy at amd.com>
  Date:   2025-02-04 (Tue, 04 Feb 2025)

  Changed paths:
    M flang/lib/Lower/OpenMP/DataSharingProcessor.cpp
    A flang/test/Lower/OpenMP/lastprivate-simd.f90

  Log Message:
  -----------
  [flang][OpenMP] Update all `lastprivate` symbols, not just in clauses (#125628)

Fixes a bug in updating `lastprivate` variables. Previously, we only
iterated over the symbols collected from `lastprivate` clauses. This
meants that for pre-determined symbols, we did not implement the update
correctly (e.g. for loop iteration variables of `simd` constructs).



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