[all-commits] [llvm/llvm-project] 535b24: [flang][openmp] Propagate volatile on reduction va...

Asher Mancinelli via All-commits all-commits at lists.llvm.org
Tue Jun 10 06:14:11 PDT 2025


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

  Changed paths:
    M flang/lib/Lower/Support/PrivateReductionUtils.cpp
    A flang/test/Lower/volatile-openmp2.f03

  Log Message:
  -----------
  [flang][openmp] Propagate volatile on reduction variables (#142435)

Reference types were being constructed from openmp private clauses without propagating volatility.
Fix this by checking the volatility of the original variable and add a test.



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