https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91275
--- Comment #6 from Bill Schmidt <wschmidt at gcc dot gnu.org> --- Thanks for the report! Sorry for taking so long to look at this. Swap optimization treats vpmsumd as swappable, but unlike vpmsumb, vpmsumh, and vpmsumw, it is not. Testing a patch.