[all-commits] [llvm/llvm-project] 9c464e: [flang][OpenMP] Don't try to privatize FORALL/DO C...

Leandro Lupori via All-commits all-commits at lists.llvm.org
Mon Jan 20 10:46:33 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9c464e60d2c74094e3782d363e482c98762036ee
      https://github.com/llvm/llvm-project/commit/9c464e60d2c74094e3782d363e482c98762036ee
  Author: Leandro Lupori <leandro.lupori at linaro.org>
  Date:   2025-01-20 (Mon, 20 Jan 2025)

  Changed paths:
    M flang/lib/Semantics/resolve-directives.cpp
    M flang/test/Semantics/OpenMP/doconcurrent01.f90
    A flang/test/Semantics/OpenMP/forall.f90

  Log Message:
  -----------
  [flang][OpenMP] Don't try to privatize FORALL/DO CONCURRENT indices (#123341)

FORALL/DO CONCURRENT indices have predetermined private DSA (OpenMP 5.2
5.1.1).

As FORALL/DO CONCURRENT indices are defined in the construct itself, and
OpenMP
directives may not appear in it, they are already private and don't need
to be modified.

Fixes https://github.com/llvm/llvm-project/issues/100919
Fixes https://github.com/llvm/llvm-project/issues/120023
Fixes https://github.com/llvm/llvm-project/issues/123537



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