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 | 9fba3da87966815578ec21ad9c6556bca3cfaf72 (patch) | |
tree | b64f65f127d30e4fb4edc9559e612c6e2f199e9b /llvm/lib/Analysis/DataStructure/Local.cpp | |
parent | 2d6fca97173c7edf12ae9b4b688db3cfdf3360a8 (diff) | |
download | bcm5719-llvm-9fba3da87966815578ec21ad9c6556bca3cfaf72.tar.gz bcm5719-llvm-9fba3da87966815578ec21ad9c6556bca3cfaf72.zip |
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.
llvm-svn: 11470
Diffstat (limited to 'llvm/lib/Analysis/DataStructure/Local.cpp')
0 files changed, 0 insertions, 0 deletions