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]

PATCH Re: int div by constant optimization



On Thursday, October 25, 2001, at 06:02 PM, Richard Henderson wrote:

> On Thu, Oct 25, 2001 at 05:52:18PM -0700, Dale Johannesen wrote:
>> I'd like to fix this.  Conceptually what you
>> need to do isn't hard...
>
> I'd rather we handled this by doing constant propagation
> at higher IL levels.  E.g. Diego's tree-ssa code.

This would have the effect of doing cprop before the div-by-const
optimization is done, right?  I agree that's the best longterm
approach; but currently I need a shorter-term fix.  So I'll
submit what I have, and if you don't want gcse hacked this way,
then you don't have to accept it.


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