Skip to content
Commit 83497d9e authored by Richard Smith's avatar Richard Smith
Browse files

When we choose to use zeroinitializer for a trailing portion of an array

constant, don't convert the rest into a packed struct.

If an array constant has a large non-zero portion and a large zero
portion, we want to emit the first part as an array and the rest as a
zeroinitializer if possible. This fixes a memory usage regression from
r333141 when compiling PHP.

llvm-svn: 337498
parent 0b75dc5f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment