[all-commits] [llvm/llvm-project] a21a57: [flang][OpenMP] Fix the privatization of common bl...
Leandro Lupori via All-commits
all-commits at lists.llvm.org
Thu Jun 11 07:26:17 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: a21a57c483376359d16de7f7f0dce0d546800d9c
https://github.com/llvm/llvm-project/commit/a21a57c483376359d16de7f7f0dce0d546800d9c
Author: Leandro Lupori <leandro.lupori at linaro.org>
Date: 2026-06-11 (Thu, 11 Jun 2026)
Changed paths:
M flang/lib/Semantics/resolve-directives.cpp
A flang/test/Lower/OpenMP/nested-commonblock.f90
Log Message:
-----------
[flang][OpenMP] Fix the privatization of common blocks (#200446)
Common block objects were being replaced on every privatization,
which caused errors for distinct privatizations on nested constructs.
Modifying a common block clone, instead of the original one, fixes the
issue. Cloning is limited to DSA flags because target mapping lowering
expects to find the common block address, through its defining
operation.
Fixes #178790
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