Re: [RFC] ipa-cp: Feed results of IPA-CP into SCCVN

2022-04-03 Thread Richard Biener via Gcc-patches
On Fri, 1 Apr 2022, Martin Jambor wrote: > Hi, > > thanks for a very quick reply. > > On Fri, Apr 01 2022, Richard Biener wrote: > > On Fri, 1 Apr 2022, Martin Jambor wrote: > > > >> Hi, > >> > >> PRs 68930 and 92497 show that when IPA-CP figures out constants in > >> aggregate parameters or wh

Re: [RFC] ipa-cp: Feed results of IPA-CP into SCCVN

2022-04-01 Thread Martin Jambor
Hi, thanks for a very quick reply. On Fri, Apr 01 2022, Richard Biener wrote: > On Fri, 1 Apr 2022, Martin Jambor wrote: > >> Hi, >> >> PRs 68930 and 92497 show that when IPA-CP figures out constants in >> aggregate parameters or when passed by reference but the loads happen >> in an inlined fun

Re: [RFC] ipa-cp: Feed results of IPA-CP into SCCVN

2022-04-01 Thread Richard Biener via Gcc-patches
On Fri, 1 Apr 2022, Martin Jambor wrote: > Hi, > > PRs 68930 and 92497 show that when IPA-CP figures out constants in > aggregate parameters or when passed by reference but the loads happen > in an inlined function the information is lost. This happens even > when the inlined function itself was

[RFC] ipa-cp: Feed results of IPA-CP into SCCVN

2022-04-01 Thread Martin Jambor
Hi, PRs 68930 and 92497 show that when IPA-CP figures out constants in aggregate parameters or when passed by reference but the loads happen in an inlined function the information is lost. This happens even when the inlined function itself was known to have - or even cloned to have - such constan