Re: [PATCH] Maintain LC SSA when doing SVE vectorization

2022-07-05 Thread Richard Sandiford via Gcc-patches
Richard Biener writes: > The final loop IV use after the loop has that not in LC SSA > (and inserts not simplified _2 = _3 - 0 stmts). In particular > since it splits the exit edge when there's a virtual PHI in the > destination it breaks virtual LC SSA form (but likely also > non-virtual). > > T

[PATCH] Maintain LC SSA when doing SVE vectorization

2022-07-04 Thread Richard Biener via Gcc-patches
The final loop IV use after the loop has that not in LC SSA (and inserts not simplified _2 = _3 - 0 stmts). In particular since it splits the exit edge when there's a virtual PHI in the destination it breaks virtual LC SSA form (but likely also non-virtual). The following properly inserts LC PHIs