This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Invalidate in cselib sp after processing frame_pointer_needed fp setter (PR rtl-optimization/54921, take 2)


On Mon, Nov 19, 2012 at 01:42:06PM -0800, Richard Henderson wrote:
> On 11/19/2012 12:39 PM, Jakub Jelinek wrote:
> > +  if (reload_completed
> > +      && frame_pointer_needed
> > +      && RTX_FRAME_RELATED_P (insn)
> > +      && fp_setter_insn (insn))
> > +    cselib_invalidate_rtx (stack_pointer_rtx);
> ...
> >  		  if (fp_cfa_offset != -1
> >  		      && hard_frame_pointer_adjustment == -1
> >  		      && RTX_FRAME_RELATED_P (insn)
> > -		      && fp_setter (insn))
> > +		      && fp_setter_insn (insn))
> 
> I thought we talked about moving the RTX_FRAME_RELATED_P test inside
> the function?  Since it's already there anyway...

Ah, forgot to remove it in the callers.  Will do.  Is it ok with that change?

	Jakub


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]