https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97286
Hongtao Liu <liuhongt at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |liuhongt at gcc dot gnu.org
--- Comment #13 from Hongtao Liu <liuhongt at gcc dot gnu.org> ---
Created attachment 63964
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=63964&action=edit
Candidate patch to solve the issue.
Instead of adding a separate pass, I add an optimization inside SLSR to
detected the redundant VIEW_CONVERT_EXPR inside the loop.