[all-commits] [llvm/llvm-project] 100a1f: [flang][OpenMP][NFC] Share SetSymbolDSA between se...
Chi-Chun, Chen via All-commits
all-commits at lists.llvm.org
Tue Jul 7 11:10:22 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 100a1fb9d628dc9969ca8f7aef774f61e168f9e9
https://github.com/llvm/llvm-project/commit/100a1fb9d628dc9969ca8f7aef774f61e168f9e9
Author: Chi-Chun, Chen <chichun.chen at hpe.com>
Date: 2026-07-07 (Tue, 07 Jul 2026)
Changed paths:
M flang/include/flang/Semantics/openmp-dsa.h
M flang/lib/Semantics/openmp-dsa.cpp
M flang/lib/Semantics/resolve-directives.cpp
Log Message:
-----------
[flang][OpenMP][NFC] Share SetSymbolDSA between semantics and lowering (#207826)
Move the DSA helper from the private OmpAttributeVisitor::SetSymbolDSA
into the public openmp-dsa header next to GetSymbolDSA, and share the
DSA flag set through a single GetDataSharingAttributeFlags().
This lets an upcoming metadirective lowering change reuse the helper to
set the predetermined DSA of the loop induction variables of a selected
variant. A loop-associated variant is resolved during lowering, so the
usual semantic DSA resolution never runs on its loop nest and lowering
must set those flags itself.
Assisted with Copilot.
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