commit | 40bbeb5d077b1bc2b933d8c8628024dfa9b428c3 | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Sun Feb 15 05:53:04 2004 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Sun Feb 15 05:53:04 2004 +0000 |
tree | 19d929951a57985d6a1802de986815ebd1f9e73a | |
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