Skip to content
Commit 9fba3da8 authored by Chris Lattner's avatar Chris Lattner
Browse files

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
parent 2d6fca97
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment