https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120164
--- Comment #2 from Tamar Christina <tnfchris at gcc dot gnu.org> --- (In reply to Richard Biener from comment #1) > As of today this is a job for the vectorizer if-conversion pass then. > > OTOH I believe we should work towards vectorizing the prefetches themselves > rather than dropping them on the floor. We'll also happily keep the > prefetches in the prologue/epilogue peeled copies which doesn't make much > sense. That would definitely have to be a target hook.