> -----Original Message----- > From: Jeff Law [mailto:l...@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.ch...@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.ch...@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.