On Thu, 21 Aug 2014, Richard Earnshaw wrote:

> On 19/08/14 15:24, Kito Cheng wrote:
> > Hi Richard:
> >> Hmm, I'm not sure about this.  It might not be used at present, but on:
> >> AArch64, with more call-clobbered registers than call-saved registers, I
> >> would expect this ought to be a win.  The fact that it isn't on today
> >> may say more about the way it works than the concept that it's the wrong
> >> thing to do in principle.
> > 
> > In my view, calculate cost/profit should be done by register allocator 
> > instead
> > of a target hook/marco is more reasonable since register allocator can
> > have more globe view to it, and IRA do it now.
> > 
> > And as Joseph say, no code calling it, so I think it's time to remove it.
> > thanks for your comment :)
> 
> Objection withdrawn.

Thanks.  The patch is OK.

-- 
Joseph S. Myers
jos...@codesourcery.com

Reply via email to