https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105219
--- Comment #5 from Tamar Christina <tnfchris at gcc dot gnu.org> --- OK, I think this is an alignment issue. When using the thunderx cost model it needs to peel the loop for alignment in order to vectorize and it looks the error is there.