On 10/13/2016 10:46 AM, Richard Biener wrote: > On Thu, Oct 13, 2016 at 9:40 AM, Martin Liška <mli...@suse.cz> wrote: >> Hi. >> >> Following patch adds code that is already present in IPA ICF. >> Patch can bootstrap on ppc64le-redhat-linux and survives regression tests. >> >> Ready to be installed? > > Ok, though technically this is conservative and we could still merge if > the blocks associated with the landing pads are merged as well?
Agree with you, however as find_duplicates operates BB by BB, it would require introduction of some kind of dependencies (e.g. you can merge BB1 with BB2, if BBx would be merged with BBy). I can write it on my TODO list after we'll transform tail-merge to IPA ICF infrastructure. Does it work for you? Martin > > Thanks, > Richard. > >> Martin