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: [4.5] Find more autoinc addressing for induction variables


Hi,

On Thu, 6 Aug 2009, Richard Guenther wrote:

> >>> I've tested this on ppc-eabisim, and it does seem to generate preinc 
> >>> addressing modes there. ÂIt also survives a regression test on that 
> >>> target.
> >>
> >> the patch is OK.
> >
> > Thanks. ÂAny thoughts on whether renumber_gimple_stmt_uids needs to be 
> > changed to renumber phis as well?
> 
> I think it is an oversight that it doesn't do that.  Though likely 
> nobody uses uids of PHIs (they are considered unordered by most passes, 
> so an equal number less than all other stmts in the basic-block would 
> suffice - would that also work for your case?)

Actually there better not be any pass relying on ordering of different PHI 
nodes.  They really represent parallel moves per edge, so they _have_ to 
be considered unordered between themself.


Ciao,
Michael.

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