diff options
author | Chris Lattner <sabre@nondot.org> | 2004-02-15 05:53:04 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-02-15 05:53:04 +0000 |
commit | 40bbeb5d077b1bc2b933d8c8628024dfa9b428c3 (patch) | |
tree | 19d929951a57985d6a1802de986815ebd1f9e73a /lib/Analysis/DataStructure/Local.cpp | |
parent | 46ccf6d382568183a2fbbefabd5904bc45b8da2f (diff) |
Add a new ConstantAggregateZero class, to fix PR239. This makes zero
initializers for constant structs and arrays take constant space, instead of
space proportinal to the number of elements. This reduces the memory usage of
the LLVM compiler by hundreds of megabytes when compiling some nasty SPEC95
benchmarks.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11470 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/DataStructure/Local.cpp')
0 files changed, 0 insertions, 0 deletions