Re: [PATCH, PR60738] More LRA split for regno conflicting with single reg class operand

2014-05-05 Thread Vladimir Makarov
On 2014-04-25, 11:35 PM, Wei Mi wrote: Hi, This patch is to address the missing optimization reported in http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60738 Now in process_single_reg_class_operands, any allocno A conflicting with a single reg class operand B is marked to never use the reg class i

Re: [PATCH, PR60738] More LRA split for regno conflicting with single reg class operand

2014-04-28 Thread Wei Mi
Thanks. I will change > + if (a != operand_a > + && (LRA_SPLIT_FREQ_RATIO * freq >= a->freq)) to > + if (a != operand_a > + && (!ira_use_lra_p || LRA_SPLIT_FREQ_RATIO * freq >= a->freq)) Regards, Wei. On Mon, Apr 28, 2014 at 12:57 AM, Steven Bosscher wr

Re: [PATCH, PR60738] More LRA split for regno conflicting with single reg class operand

2014-04-28 Thread Steven Bosscher
On Sat, Apr 26, 2014 at 5:35 AM, Wei Mi wrote: > Index: ira-lives.c > === > --- ira-lives.c (revision 209253) > +++ ira-lives.c (working copy) > @@ -1025,7 +1025,11 @@ process_single_reg_class_operands (bool > { > ir

[PATCH, PR60738] More LRA split for regno conflicting with single reg class operand

2014-04-25 Thread Wei Mi
Hi, This patch is to address the missing optimization reported in http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60738 Now in process_single_reg_class_operands, any allocno A conflicting with a single reg class operand B is marked to never use the reg class in IRA. This is non-optimal when A is in a