[all-commits] [llvm/llvm-project] 65510b: [flang][OpenMP][NFC] Share SetSymbolDSA between se...
Chi-Chun, Chen via All-commits
all-commits at lists.llvm.org
Tue Jul 7 10:52:26 PDT 2026
Branch: refs/heads/users/cchen/flang-metadirective-nfc-dsa
Home: https://github.com/llvm/llvm-project
Commit: 65510ba80540c197b029baa9bdf68387c63a133f
https://github.com/llvm/llvm-project/commit/65510ba80540c197b029baa9bdf68387c63a133f
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
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