https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113033
--- Comment #3 from Xi Ruoyao <xry111 at gcc dot gnu.org> --- (define_expand "vec_init<mode><unitmode>" [(match_operand:LSX 0 "register_operand") (match_operand:LSX 1 "")] "ISA_HAS_LSX" { loongarch_expand_vector_init (operands[0], operands[1]); DONE; }) We need to add a predicate for operand 1...