Re: Localize symbols used only from comdat groups

2014-11-23 Thread H.J. Lu
On Sun, May 18, 2014 at 4:56 PM, Jan Hubicka wrote: > Hi, > this patch adds simple IPA pass that brings symbols used only from > comdat groups into the groups. This prevents dead code in cases > where the comdat group is replaced by a copy from different unit. > > The patch saves about 0.5% of li

Localize symbols used only from comdat groups

2014-05-18 Thread Jan Hubicka
Hi, this patch adds simple IPA pass that brings symbols used only from comdat groups into the groups. This prevents dead code in cases where the comdat group is replaced by a copy from different unit. The patch saves about 0.5% of libreoffice binary and about 1% of firefox binary with section GC