https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58517
--- Comment #18 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Created attachment 55250 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55250&action=edit This patch also fixes the issue by looking back Here is a patch which does the lookback if the reg is a hard register and it is considered a small reg class.
