Free memory used by initializers of global variables, created during linking

Rafael EspĂ­ndola rafael.espindola at gmail.com
Fri Jan 9 12:43:00 PST 2015


On 9 January 2015 at 13:25, Manman Ren <mren at apple.com> wrote:
>
> Hi Rafael,
>
> Updated patch is attached. It updates the comments as suggested.

Looking nice.

Just two comments.

*) The full list of constant stores seems to be

ArrayConstants
CAZConstants
CDSConstants
CPNConstants
ExprConstants
FPConstants
InlineAsms
IntConstants
StructConstants
VectorConstants
UVConstants

So it looks like we are still missing

CAZConstants
CPNConstants
FPConstants
InlineAsms
IntConstants
UVConstants

* Deleting a constant can cause other constants to become dead. Should
we iterate until no constants are deleted in a pass?

Cheers,
Rafael



More information about the llvm-commits mailing list