Re: [PATCH, ira] Ignore some conflict cost

2014-09-23 Thread Jeff Law
On 09/17/14 03:18, Zhenqiang Chen wrote: Hi, When assign_hard_reg, we always check_hard_reg_p, which has code if (! TEST_HARD_REG_BIT (profitable_regs, hard_regno)) return false; i.e. If a hard_regno is not in profitable_regs, we can not allocate it to the ira_allocno_t A. So the conflict

RE: [PATCH, ira] Ignore some conflict cost

2014-09-21 Thread Zhenqiang Chen
> -Original Message- > From: Marek Polacek [mailto:pola...@redhat.com] > Sent: Wednesday, September 17, 2014 5:29 PM > To: Zhenqiang Chen > Cc: gcc-patches@gcc.gnu.org > Subject: Re: [PATCH, ira] Ignore some conflict cost > > On Wed, Sep 17, 2014 at 05:18:27PM +08

Re: [PATCH, ira] Ignore some conflict cost

2014-09-17 Thread Marek Polacek
On Wed, Sep 17, 2014 at 05:18:27PM +0800, Zhenqiang Chen wrote: > Hi, > > When assign_hard_reg, we always check_hard_reg_p, which has code > > if (! TEST_HARD_REG_BIT (profitable_regs, hard_regno)) > return false; > > i.e. If a hard_regno is not in profitable_regs, we can not allocate it to >