On Wed, 11 Oct 2023, Tamar Christina wrote:
> > > + auto loop_exits = get_loop_exit_edges (loop);
> > > + auto_vec doms;
> > > +
> > >if (at_exit) /* Add the loop copy at exit. */
> > > {
> > > - if (scalar_loop != loop)
> > > + if (scalar_loop != loop && new_exit->dest != exi
> > + auto loop_exits = get_loop_exit_edges (loop);
> > + auto_vec doms;
> > +
> >if (at_exit) /* Add the loop copy at exit. */
> > {
> > - if (scalar_loop != loop)
> > + if (scalar_loop != loop && new_exit->dest != exit_dest)
> > {
> > - gphi_iterator gsi;
> > ne
On Mon, 2 Oct 2023, Tamar Christina wrote:
> Hi All,
>
> This final patch updates peeling to maintain LCSSA all the way through.
>
> It's significantly easier to maintain it during peeling while we still know
> where all new edges connect rather than touching it up later as is currently
> being