2 Commits

Author SHA1 Message Date
Andy Kaylor
90828e00a0
[CIR] Restore the underscore in dso_local (#145551)
The CIR handling of `dso_local` for globals was upstreamed without the
underscore, making it inconsistent with the incubator and LLVM IR. This
change restores the underscore.
2025-06-24 10:44:15 -07:00
Andy Kaylor
f327d6d4c3
[CIR] Defer definitions of global variables until they are used. (#142496)
This change adds support for deferring global variable definitions until
first use whenever it is possible to do so. Although deferring function
definitions uses much of the same implementation, function deferral will
be added in a follow-up change.
2025-06-04 14:34:54 -07:00