aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/IR/LLVMContextImpl.cpp
diff options
context:
space:
mode:
authorArthur Eubanks <aeubanks@google.com>2023-02-23 21:47:03 -0800
committerArthur Eubanks <aeubanks@google.com>2023-02-27 10:18:39 -0800
commit86bdcdf00e82865ee7ae3fcbf843a47235851817 (patch)
treed139cf8b006d6dcfeae91ca2fed51e8e6ac8b1ac /llvm/lib/IR/LLVMContextImpl.cpp
parentc31667539bc6bf6c7d56c88f216291b1d9a203b9 (diff)
downloadllvm-86bdcdf00e82865ee7ae3fcbf843a47235851817.zip
llvm-86bdcdf00e82865ee7ae3fcbf843a47235851817.tar.gz
llvm-86bdcdf00e82865ee7ae3fcbf843a47235851817.tar.bz2
[LLVMContextImpl] Separate out integer constant ones
Very small compile time improvement: https://llvm-compile-time-tracker.com/compare.php?from=6a7a8907e8334eaf551742148079c628f78e6ed7&to=454d1181fbdb9121f0c7a3ecf526520db32ab420&stat=instructions:u Reviewed By: nikic Differential Revision: https://reviews.llvm.org/D144746
Diffstat (limited to 'llvm/lib/IR/LLVMContextImpl.cpp')
-rw-r--r--llvm/lib/IR/LLVMContextImpl.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/IR/LLVMContextImpl.cpp b/llvm/lib/IR/LLVMContextImpl.cpp
index 98157e6..c076ee0 100644
--- a/llvm/lib/IR/LLVMContextImpl.cpp
+++ b/llvm/lib/IR/LLVMContextImpl.cpp
@@ -117,6 +117,7 @@ LLVMContextImpl::~LLVMContextImpl() {
UVConstants.clear();
PVConstants.clear();
IntZeroConstants.clear();
+ IntOneConstants.clear();
IntConstants.clear();
FPConstants.clear();
CDSConstants.clear();