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] Doloop improvement patches, 5/7


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


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