https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66675
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Andrew Pinski from comment #2) > Basically VECTOR_CST + VECTOR_CST is not optimized at all. I bet almost all > operations that act on VECTOR_CST are not optimized including and not > limited to PLUS, SUB, MULTIPLY, DIVIDE, SHIFT, IOR, XOR, and AND. Or rather CONSTRUCTOR + VECTOR_CST. We I suspect having a VECTOR_EXPR instead of a CONSTRUCTOR can help in those cases.