https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116032
Christophe Lyon <clyon at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |clyon at gcc dot gnu.org --- Comment #5 from Christophe Lyon <clyon at gcc dot gnu.org> --- { 0, 1 } is NOT cheaper to generate than { 1, 0 }, we generate the same code in both cases. What would make the vector cost model take into account the fact that it needs to introduce a constant pool entry?