https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114435
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rguenth at gcc dot gnu.org Last reconfirmed| |2024-03-25 Ever confirmed|0 |1 Status|UNCONFIRMED |NEW --- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> --- We've moved pcom after loop vectorization because of this. But yes, moving pcom further down is a possibility although we lack DCE after SLP (prefetching and IVOPTs might be also confused because of that, so it seems like a separate problem). So yes, moving pcom after SLP and before loop prefetching sounds reasonable to me.