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] Fix PR41043


Hi,

On Tue, 16 Feb 2010, Richard Guenther wrote:

> +   /* If this is a loop PHI node SCEV may known more about its
> +      value-range.
> +      ???  Identify loop PHI nodes properly.   */

loop PHIs are exactly those that are in the header.  See loop_phi_node_p.

> +   if (current_loops
> +       && (l = loop_containing_stmt (phi))
> +       && loop_outer (l))
> +     adjust_range_with_scev (&vr_result, l, phi, lhs);
> + 


Ciao,
Michael.


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