[all-commits] [llvm/llvm-project] 7ee421: [C++20] [Modules] Skip calls to module initializer...
Chuanqi Xu via All-commits
all-commits at lists.llvm.org
Mon Jul 1 22:59:48 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 7ee421d29612ae919edfe7250b87e3c738d66a26
https://github.com/llvm/llvm-project/commit/7ee421d29612ae919edfe7250b87e3c738d66a26
Author: Chuanqi Xu <yedeng.yd at linux.alibaba.com>
Date: 2024-07-02 (Tue, 02 Jul 2024)
Changed paths:
M clang/lib/CodeGen/CGDeclCXX.cpp
A clang/test/Modules/pr97244.cppm
Log Message:
-----------
[C++20] [Modules] Skip calls to module initializer to modules if we know the module doesn't init anything
Close https://github.com/llvm/llvm-project/issues/97244
This is an optimization allowed by the modules's ABI to skip calls to
imported modules for which we know nothing will be initialized.
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