[all-commits] [llvm/llvm-project] 8bbd07: [clang] Allocate `Module` instances in `BumpPtrAll...
Jan Svoboda via All-commits
all-commits at lists.llvm.org
Tue Oct 22 08:57:55 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 8bbd0797d4b8aa1d993f587eb2dfd9a89df1f406
https://github.com/llvm/llvm-project/commit/8bbd0797d4b8aa1d993f587eb2dfd9a89df1f406
Author: Jan Svoboda <jan_svoboda at apple.com>
Date: 2024-10-22 (Tue, 22 Oct 2024)
Changed paths:
M clang/include/clang/Basic/Module.h
M clang/include/clang/Lex/ModuleMap.h
M clang/lib/Basic/Module.cpp
M clang/lib/Lex/ModuleMap.cpp
M clang/lib/Lex/Pragma.cpp
Log Message:
-----------
[clang] Allocate `Module` instances in `BumpPtrAllocator` (#112795)
In `clang-scan-deps`, we're creating lots of `Module` instances.
Allocating them all in a bump-pointer allocator reduces the number of
retired instructions by 1-1.5% on my workload.
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