https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121766
--- Comment #3 from Tamar Christina <tnfchris at gcc dot gnu.org> --- Ok, have a patch that teaches the cost model about truncating stores. We now get the SVE code again, but this makes me wonder about the widening loads code. We also pick a ridiculous unroll factor for the given example. I'm off for a couple of days and will pick it back up when I'm back. Thanks for the report and example!