[4.5] Doloop improvement patches, 5/7
Zdenek Dvorak
rakdver@kam.mff.cuni.cz
Fri Mar 6 00:04:00 GMT 2009
Hi,
> simplify_using_assignment calls function simple_rhs_p to determine if it
> should use the assignment or not. The previous patch changed
> determine_max_iter not to use simplified values, so none of the users of
> simplify_using_initial_values care whether the expression they get back
> is complicated, they only care whether it can eventually be simplified
> to a constant. To be able to do this for as many expressions as
> possible, it is advantageous to keep scanning as long as we can.
>
> This patch improves this by allowing a few more types of expressions in
> simple_rhs_p.
> * loop-iv.c (simple_rhs_p): Allow more kinds of expressions.
OK,
Zdenek
More information about the Gcc-patches
mailing list