[all-commits] [llvm/llvm-project] f327d6: [CIR] Defer definitions of global variables until ...
Andy Kaylor via All-commits
all-commits at lists.llvm.org
Wed Jun 4 14:35:16 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: f327d6d4c344956a66002f9364fce9439a8127b3
https://github.com/llvm/llvm-project/commit/f327d6d4c344956a66002f9364fce9439a8127b3
Author: Andy Kaylor <akaylor at nvidia.com>
Date: 2025-06-04 (Wed, 04 Jun 2025)
Changed paths:
M clang/include/clang/CIR/CIRGenerator.h
M clang/include/clang/CIR/MissingFeatures.h
M clang/lib/CIR/CodeGen/CIRGenModule.cpp
M clang/lib/CIR/CodeGen/CIRGenModule.h
M clang/lib/CIR/CodeGen/CIRGenerator.cpp
A clang/test/CIR/CodeGen/deferred-defs.cpp
Log Message:
-----------
[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.
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