Re: [PATCH] ipa-sra: Consider the first parameter of methods safe to dereference

2022-12-15 Thread Jan Hubicka via Gcc-patches
> On Wed, Dec 14, 2022 at 4:20 PM Jan Hubicka via Gcc-patches > wrote: > > > > > Hi, > > > > > > Honza requested this after reviewing the patch that taught IPA-SRA > > > that REFERENCE_TYPEs are always non-NULL that the pass also handles > > > the first parameters of methods, this pointers, in the

Re: [PATCH] ipa-sra: Consider the first parameter of methods safe to dereference

2022-12-15 Thread Richard Biener via Gcc-patches
On Wed, Dec 14, 2022 at 4:20 PM Jan Hubicka via Gcc-patches wrote: > > > Hi, > > > > Honza requested this after reviewing the patch that taught IPA-SRA > > that REFERENCE_TYPEs are always non-NULL that the pass also handles > > the first parameters of methods, this pointers, in the same way. So >

Re: [PATCH] ipa-sra: Consider the first parameter of methods safe to dereference

2022-12-14 Thread Jan Hubicka via Gcc-patches
> Hi, > > Honza requested this after reviewing the patch that taught IPA-SRA > that REFERENCE_TYPEs are always non-NULL that the pass also handles > the first parameters of methods, this pointers, in the same way. So > this patch does that. > > The patch is undergoing bootstrap and testing on an

[PATCH] ipa-sra: Consider the first parameter of methods safe to dereference

2022-12-14 Thread Martin Jambor
Hi, Honza requested this after reviewing the patch that taught IPA-SRA that REFERENCE_TYPEs are always non-NULL that the pass also handles the first parameters of methods, this pointers, in the same way. So this patch does that. The patch is undergoing bootstrap and testing on an x86_64-linux ri