https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65930
--- Comment #15 from rguenther at suse dot de <rguenther at suse dot de> --- On Wed, 12 Jun 2019, jakub at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65930 > > Jakub Jelinek <jakub at gcc dot gnu.org> changed: > > What |Removed |Added > ---------------------------------------------------------------------------- > CC| |jakub at gcc dot gnu.org > > --- Comment #14 from Jakub Jelinek <jakub at gcc dot gnu.org> --- > Couldn't this be done during ifcvt on the if (LOOP_VECTORIZED ()) copy of the > loop? Yes, some sanitizing of reductions could be done here. OTOH in theory the sanitizing can be done "transparently" in the vectorizer, just the book-keeping is somewhat awkward at the moment.