[all-commits] [llvm/llvm-project] 350d67: [Flang] mark safe external globals as dso_local (#...
Jason Van Beusekom via All-commits
all-commits at lists.llvm.org
Wed Apr 8 09:13:43 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 350d672827deaff38e81a859522e5a3bfb584ed3
https://github.com/llvm/llvm-project/commit/350d672827deaff38e81a859522e5a3bfb584ed3
Author: Jason Van Beusekom <jason.van-beusekom at hpe.com>
Date: 2026-04-08 (Wed, 08 Apr 2026)
Changed paths:
M flang/include/flang/Optimizer/Dialect/Support/FIRContext.h
M flang/lib/Lower/Bridge.cpp
M flang/lib/Optimizer/CodeGen/CodeGen.cpp
M flang/lib/Optimizer/Dialect/Support/FIRContext.cpp
A flang/test/Fir/dso-local-macho.fir
A flang/test/Fir/dso-local.fir
M flang/test/Lower/common-block.f90
Log Message:
-----------
[Flang] mark safe external globals as dso_local (#189709)
Globals inside a Fortran module are not marked as dso_local,
which results in their alignment not being promoted.
This fix mimics some of the functionality found in
shouldAssumeDSOLocal in /clang/lib/CIR/CodeGen/CIRGenModule.cpp
Fixes #189069
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