https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114570
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever confirmed|0 |1 Last reconfirmed| |2024-04-03 --- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> --- There's no (gimple) invariant motion after vector operation lowering. RTL invariant motion should see this though but it might have a prohibiting cost model (or doesn't handle [stack] memory?). There's other reasons we want to move vector lowering earlier which might then also catch invariant motion opportunities.