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] Handle equivalent loop invariants as one in loop-invariant.c


On Wednesday 21 December 2005 22:06, Zdenek Dvorak wrote:
> > There is code all over the compiler which does this sort of
> > equivalency checking, but doesn't bother to do the submode code.
> > Introducing it only here requires special justification--why does this
> > code require the extra attention?
>
> huh?  We do this (keeping account of what mode the VOIDmode operand
> really is) all over the compiler; there is nothing special about this
> code.

But the various compare functions don't, at least not AFAICT.

It seems to me that making things consistent with what we do in
equivalent functions elsewhere in the compiler is a Good Thing.

Gr.
Steven


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