[all-commits] [llvm/llvm-project] 48927e: [flang][OpenMP] Fix privatization of threadprivate...
Leandro Lupori via All-commits
all-commits at lists.llvm.org
Tue Feb 6 05:04:32 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 48927e9592e8bb70f85ff6431c7bf514fe5d1c07
https://github.com/llvm/llvm-project/commit/48927e9592e8bb70f85ff6431c7bf514fe5d1c07
Author: Leandro Lupori <leandro.lupori at linaro.org>
Date: 2024-02-06 (Tue, 06 Feb 2024)
Changed paths:
M flang/lib/Lower/OpenMP.cpp
A flang/test/Lower/OpenMP/threadprivate-commonblock-use.f90
Log Message:
-----------
[flang][OpenMP] Fix privatization of threadprivate common block (#77821)
In some cases, when privatizing a threadprivate common block, the
original symbol will correspond to the common block, instead of
its threadprivate version. This can happen, for instance, with a
common block, declared in a separate module, used by a parent
procedure and privatized in its child procedure. In this case,
symbol lookup won't find a symbol in the parent procedure, but
only in the module where the common block was defined.
Fixes https://github.com/llvm/llvm-project/issues/65028
More information about the All-commits
mailing list