Re: [PATCH] Provide an API for ipa_vr.

2023-05-24 Thread Martin Jambor
Hello, On Wed, May 17 2023, Aldy Hernandez wrote: > This patch encapsulates the ipa_vr internals into an API. It also > makes it type agnostic, in preparation for upcoming changes to IPA. > > Interestingly, there's a 0.44% improvement to IPA-cp, which I'm sure > we'll soak up with future changes

Re: [PATCH] Provide an API for ipa_vr.

2023-05-22 Thread Aldy Hernandez via Gcc-patches
71798dab51..6bbd3f16439 100644 > --- a/gcc/testsuite/gcc.dg/ipa/vrp5.c > +++ b/gcc/testsuite/gcc.dg/ipa/vrp5.c > @@ -30,5 +30,5 @@ int bar (struct st *s) >foo ([1]); > } > > -/* { dg-final { scan-ipa-dump "Setting nonnull for 0" "cp" } } */ > +/*

[PATCH] Provide an API for ipa_vr.

2023-05-17 Thread Aldy Hernandez via Gcc-patches
This patch encapsulates the ipa_vr internals into an API. It also makes it type agnostic, in preparation for upcoming changes to IPA. Interestingly, there's a 0.44% improvement to IPA-cp, which I'm sure we'll soak up with future changes in this area :). BTW, there's a note here: + //