1 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2 ; RUN: llc < %s -mtriple=x86_64-- | FileCheck %s
4 define <4 x double> @foo0(<4 x double> %t) {
7 ; CHECK-NEXT: movlps {{.*#+}} xmm0 = mem[0,1],xmm0[2,3]
9 %r = insertelement <4 x double> %t, double 2.3, i32 0
12 define <4 x double> @foo1(<4 x double> %t) {
15 ; CHECK-NEXT: movhps {{.*#+}} xmm0 = xmm0[0,1],mem[0,1]
17 %r = insertelement <4 x double> %t, double 2.3, i32 1
20 define <4 x double> @foo2(<4 x double> %t) {
23 ; CHECK-NEXT: movlps {{.*#+}} xmm1 = mem[0,1],xmm1[2,3]
25 %r = insertelement <4 x double> %t, double 2.3, i32 2
28 define <4 x double> @foo3(<4 x double> %t) {
31 ; CHECK-NEXT: movhps {{.*#+}} xmm1 = xmm1[0,1],mem[0,1]
33 %r = insertelement <4 x double> %t, double 2.3, i32 3