https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122604
--- Comment #7 from Drea Pinski <pinskia at gcc dot gnu.org> --- (In reply to Drea Pinski from comment #6) > cs-elim should be able to enhanced to handle this. > > # .MEM_26 = VDEF <.MEM_25> > e_7(D)->_s[k_5] = _22; > > # .MEM_24 = VDEF <.MEM_23> > e_7(D)->_s[_1] = _15; > > Right now CS-Elim only handles a few simple things. > > Let me take a look to improve this one. It could also be handled by sink; though it needs to be done only after vectorization because we have no idea that _1 and k_5 would be the same so adding a new phi would need help.
