https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81034
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Comment on attachment 41516 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41516 Reproducible Hmm, bugzilla might not be the right place for this kind of issue. I suspect your avx512f_loadv2df_mask pattern is incorrect. Vec_merge takes 3 operands, two vectors and a const_int. Maybe the other thing is the const_vector here should have been a match_operand.