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, 1 Apr 2010, Sebastian Pop wrote:

> On Thu, Apr 1, 2010 at 06:00, Richard Guenther <rguenther@suse.de> wrote:
> > On Wed, 31 Mar 2010, Sebastian Pop wrote:
> >
> >> On Mon, Mar 29, 2010 at 10:26, Sebastian Pop <sebpop@gmail.com> wrote:
> >> > PS: to reproduce the errors described here you would need the attached
> >> > patches.
> >>
> >> The attached patch systematically adds a TODO_verify_loops to all the
> >> passes that work at the LNO level. ?Would this be ok for trunk after
> >> testing and bootstrap?
> >
> > It would probably be better to automatically schedule this from
> > the pass manager if current_loops != NULL. ?Anyway, this looks like
> > stage1 material to me.
> 
> You mean a patch like this?

Sort of.  Only verify loop closed SSA if loop_state_satisifes_p
has LCSSA.  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).  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).

Richard.

> Ok for 4.6 if it passes regstrap?
> 
> Thanks,
> Sebastian
> 

-- 
Richard Guenther <rguenther@suse.de>
Novell / SUSE Labs
SUSE LINUX Products GmbH - Nuernberg - AG Nuernberg - HRB 16746 - GF: Markus Rex

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