https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98138
--- Comment #13 from Richard Biener <rguenth at gcc dot gnu.org> --- (In reply to Jiangning Liu from comment #12) > Hi Richi, > > > That said, "failure" to identify the common (vector) load is known > > and I do have experimental patches trying to address that but did > > not yet arrive at a conclusive "best" approach. > > It was long time ago, so do you have the "best" approach now? I do have ideas but how it will play out is unknown. Also the current priority is to improve maintainability of the code with getting rid of the non-SLP data structure using paths in the vectorizer. Next would be to redo loop SLP discovery from scratch which would include possibly fixing this issue. > Thanks, > -Jiangning