Does unrolling prevents doloop optimizations?

Zdenek Dvorak rakdver@kam.mff.cuni.cz
Sat Jun 30 21:43:00 GMT 2007


Hello,

> > > It doesn't seem that the number of iterations analysis from loop-iv.c
> deals
> > > with EQ closing branches.
> >
> > loop-iv works just fine for EQ closing branches.
> >
> 
> Thanks for the clarification (I didn't see EQ in iv_number_of_iterations's
> switch (cond)).

that is because we canonicalize the condition before that to a NE
condition.

Zdenek



More information about the Gcc mailing list