a73909097c11b146ec0b5663e97dd2b111a579a7
[oota-llvm.git] / test / CodeGen / X86 / vec_set-9.ll
1 ; RUN: llc < %s -march=x86-64 -mattr=-avx,-pad-short-functions | FileCheck %s
2
3 ; CHECK: test3
4 ; CHECK: movd
5 ; CHECK-NOT: movd
6 ; CHECK: {{movlhps.*%xmm0, %xmm0}}
7 ; CHECK-NEXT: ret
8
9 define <2 x i64> @test3(i64 %A) nounwind {
10 entry:
11         %B = insertelement <2 x i64> undef, i64 %A, i32 1
12         ret <2 x i64> %B
13 }
14