RE: [RFC] ipa: Adjust references to identify read-only globals

2021-07-27 Thread JiangNing OS via Gcc-patches
> -Original Message- > From: Martin Jambor > Sent: Tuesday, July 27, 2021 5:39 PM > To: JiangNing OS ; Richard Biener > > Cc: GCC Patches ; Jan Hubicka > Subject: RE: [RFC] ipa: Adjust references to identify read-only globals > > Hi, > > On Tue

RE: [RFC] ipa: Adjust references to identify read-only globals

2021-07-27 Thread Martin Jambor
Hi, On Tue, Jul 27 2021, JiangNing OS wrote: >> Since it has been pre-approved by Honza, I would like to commit it to master >> soon. Nevertheless, Jiangning, I am OK to wait a day or so if you can give >> it >> another test on your setup. >> > > I failed to apply your patch, so could you pleas

RE: [RFC] ipa: Adjust references to identify read-only globals

2021-07-27 Thread JiangNing OS via Gcc-patches
> Since it has been pre-approved by Honza, I would like to commit it to master > soon. Nevertheless, Jiangning, I am OK to wait a day or so if you can give it > another test on your setup. > I failed to apply your patch, so could you please provide a patch file instead? patch: malformed pa

Re: [RFC] ipa: Adjust references to identify read-only globals

2021-07-22 Thread Martin Jambor
Hi, On Tue, Jul 20 2021, Martin Jambor wrote: > On Tue, Jul 20 2021, Richard Biener wrote: >> On Tue, Jul 20, 2021 at 10:54 AM JiangNing OS via Gcc-patches >> wrote: [...] >>> > this patch has been motivated by SPEC 2017's 544.nab_r in which there is a >>> > static variable which is never written

Re: [RFC] ipa: Adjust references to identify read-only globals

2021-07-20 Thread Martin Jambor
Hi, On Tue, Jul 20 2021, Richard Biener wrote: > On Tue, Jul 20, 2021 at 10:54 AM JiangNing OS via Gcc-patches > wrote: >> >> > -Original Message- >> > From: Gcc-patches > > bounces+jiangning=os.amperecomputing@gcc.gnu.org> On Behalf Of >> > Martin Jambor >> > Sent: Wednesday, June 30

Re: [RFC] ipa: Adjust references to identify read-only globals

2021-07-20 Thread Richard Biener via Gcc-patches
On Tue, Jul 20, 2021 at 10:54 AM JiangNing OS via Gcc-patches wrote: > > > -Original Message- > > From: Gcc-patches > bounces+jiangning=os.amperecomputing@gcc.gnu.org> On Behalf Of > > Martin Jambor > > Sent: Wednesday, June 30, 2021 4:19 AM > > To: GCC Patches > > Cc: Jan Hubicka >

RE: [RFC] ipa: Adjust references to identify read-only globals

2021-07-20 Thread JiangNing OS via Gcc-patches
> -Original Message- > From: Gcc-patches bounces+jiangning=os.amperecomputing@gcc.gnu.org> On Behalf Of > Martin Jambor > Sent: Wednesday, June 30, 2021 4:19 AM > To: GCC Patches > Cc: Jan Hubicka > Subject: [RFC] ipa: Adjust references to identify read-only globals > > Hi, > > thi

Re: [RFC] ipa: Adjust references to identify read-only globals

2021-07-15 Thread Jan Hubicka
> Hi, > > gcc/ChangeLog: > > 2021-06-29 Martin Jambor > > * cgraph.h (ipa_replace_map): New field force_load_ref. > * ipa-prop.h (ipa_param_descriptor): Reduce precision of move_cost, > aded new flag load_dereferenced, adjusted comments. > (ipa_get_param_dereferenced):