Re: Avoid trashing of polymorphic call cache during inlining

2019-11-15 Thread Martin Jambor
On Thu, Nov 14 2019, Jan Hubicka wrote: >> On Mon, Nov 04 2019, Jan Hubicka wrote: >> > Index: ipa-utils.h >> > === >> > --- ipa-utils.h(revision 277780) >> > +++ ipa-utils.h(working copy) >> > @@ -47,6 +47,9 @@ void ipa_merge_

Re: Avoid trashing of polymorphic call cache during inlining

2019-11-14 Thread Jan Hubicka
> Hi, > > On Mon, Nov 04 2019, Jan Hubicka wrote: > > Hi, > > I am not really pround of this implementation (and will think of better > > interface), but this patch saves about 10% of WPA time by avoiding > > unnecesary invalidations of the polymorphic call target hash during > > inlining. > > > >

Re: Avoid trashing of polymorphic call cache during inlining

2019-11-14 Thread Martin Jambor
Hi, On Mon, Nov 04 2019, Jan Hubicka wrote: > Hi, > I am not really pround of this implementation (and will think of better > interface), but this patch saves about 10% of WPA time by avoiding > unnecesary invalidations of the polymorphic call target hash during > inlining. > > ipa-devirt register