This is the mail archive of the gcc@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]

Re: RFC -- update_equiv_regs and friends


>   /* Return nonzero if the rtx X is invariant over the current function.  */
> 
>   int
>   function_invariant_p (x)
> 
> implies that it's a redundant function given the existence of rtx_varies_p.

Well, as we have seen, it is not redundant, since rtx_varies_p accepts things
as non-varying that are not strictly non-varying, from the standpoint of
register allocation.

Maybe you can make this more clear by changing the comments at the start
of these two functions.


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