[all-commits] [llvm/llvm-project] ba9922: [flang][OpenMP] Don't pritvatize pre-determined sy...
Kareem Ergawy via All-commits
all-commits at lists.llvm.org
Thu Aug 7 23:51:14 PDT 2025
Branch: refs/heads/users/ergawy/do_not_privaize_nested_declarations
Home: https://github.com/llvm/llvm-project
Commit: ba9922c0ac7a26e68d675cdee621934d70fc2ed5
https://github.com/llvm/llvm-project/commit/ba9922c0ac7a26e68d675cdee621934d70fc2ed5
Author: ergawy <kareem.ergawy at amd.com>
Date: 2025-08-08 (Fri, 08 Aug 2025)
Changed paths:
M flang/lib/Lower/OpenMP/DataSharingProcessor.cpp
M flang/lib/Lower/OpenMP/DataSharingProcessor.h
A flang/test/Lower/OpenMP/block_predetermined_privatization.f90
Log Message:
-----------
[flang][OpenMP] Don't pritvatize pre-determined symbols declare by nested `BLOCK`s
Fixes a bug when a block variable is marked as pre-determined private. In such
case, we can simply ignore privatizing that symbol within the context of the
currrent OpenMP construct since the "private" allocation for the symbol will
be emitted within the nested block anyway.
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