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 PR43464: update loop closed SSA form once copy prop is done


On Thu, Apr 1, 2010 at 08:48, Richard Guenther <rguenther@suse.de> wrote:
> Sort of. ?Only verify loop closed SSA if loop_state_satisifes_p
> has LCSSA.

done, see 0001

> ?Also add a param to verify_loop_closed_ssa whether
> verify_ssa should be called inside it (we do that from passes.c
> already, so avoid the duplicate).

done, see 0002

> ?For simplicity I'd just
> add TODO_verify_loops to the flags when loop state satisifes
> LCSSA in passes.c (which can then also avoid passing true to
> verify_loop_closed_ssa if ssa verification was already done).
>

This confuses me: why do you want to keep the TODO_verify_loops?
TODO_verify_loops won't have any effect on all the LNO passes
if I'm adding this change to execute_function_todo

if (current_loops && loops_state_satisfies_p (LOOP_CLOSED_SSA))
  flags = flags & TODO_verify_loops;

Sebastian


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