This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
RE: [PATCH Version 2][RFA]Improving register pressure directed hoist
- From: "Bin Cheng" <bin dot cheng at arm dot com>
- To: "'Jeff Law'" <law at redhat dot com>, "'Jakub Jelinek'" <jakub at redhat dot com>
- Cc: <gcc-patches at gcc dot gnu dot org>
- Date: Mon, 12 Nov 2012 10:25:29 +0800
- Subject: RE: [PATCH Version 2][RFA]Improving register pressure directed hoist
- References: <007001cdb8d4$f2198a30$d64c9e90$@cheng@arm.com> <509826AF.5080906@redhat.com> <007a01cdbc1f$2d7e6a80$887b3f80$@cheng@arm.com> <008201cdbd2b$91850630$b48f1290$@cheng@arm.com> <509D0BD0.9030009@redhat.com>
> -----Original Message-----
> From: Jeff Law [mailto:law@redhat.com]
> Sent: Friday, November 09, 2012 9:58 PM
> To: Bin Cheng
> Cc: gcc-patches@gcc.gnu.org
> Subject: Re: [PATCH Version 2][RFA]Improving register pressure directed
hoist
>
> On 11/07/2012 02:05 PM, Bin Cheng wrote:
>
> > 2012-11-08 Bin Cheng <bin.cheng@arm.com>
> >
> > * gcse.c: (struct bb_data): Add new fields, old_pressure, live_in
> > and backup.
> > (calculate_bb_reg_pressure): Initialize live_in and backup.
> > (update_bb_reg_pressure): New.
> > (should_hoist_expr_to_dom): Add new parameter from.
> > Monitor the change of reg pressure and use it to drive hoisting.
> > (hoist_code): Update LIVE and reg pressure information.
> >
> > gcc/testsuite/ChangeLog
> > 2012-11-08 Bin Cheng <bin.cheng@arm.com>
> >
> > * gcc.dg/hoist-register-pressure-3.c: New test.
> Thanks for taking care of that inconsistency. This is OK to install now.
Hi Jeff & Jakub,
Thanks for reviewing.
I posted in the below message explaining that I want to include this patch
in GCC 4.8.
http://gcc.gnu.org/ml/gcc/2012-10/msg00471.html
Since it is approved now, I committed it as r193425 in TRUNK.
Thanks.