This fixes this case from PR22685 to be handled by vmovss
efine <8 x float> @mov00(float* %ptr) {
%val = load float* %ptr %vec = insertelement <8 x float> zeroinitializer, float %val, i32 0 ret <8 x float> %vec
}
Instead of this
vxorps %xmm0, %xmm0, %xmm0
vinsertps $0, (%rdi), %xmm0, %xmm0 ## xmm0 = mem[0],xmm0[1,2,3]
vxorps %ymm1, %ymm1, %ymm1
vinsertf128 $0, %xmm0, %ymm1, %ymm0
retq