[all-commits] [llvm/llvm-project] f50fe7: [flang] Propagate volatile on openmp reduction var...

Asher Mancinelli via All-commits all-commits at lists.llvm.org
Mon Jun 2 08:04:33 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f50fe748b3de42051b5dbf22448bb55aefcbe39c
      https://github.com/llvm/llvm-project/commit/f50fe748b3de42051b5dbf22448bb55aefcbe39c
  Author: Asher Mancinelli <ashermancinelli at gmail.com>
  Date:   2025-06-02 (Mon, 02 Jun 2025)

  Changed paths:
    M flang/lib/Lower/OpenMP/ReductionProcessor.cpp
    A flang/test/Lower/volatile-openmp1.f90

  Log Message:
  -----------
  [flang] Propagate volatile on openmp reduction vars (#142182)

In the openmp reduction clause lowering, reduction variables' reference
types were not propagating the volatility of the original variable's
type. Add a test and address cases of this in ReductionProcessor.



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