summaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/vec_set-9.ll
blob: aaa3184cf391324ca08cc22fe34caf9d0e1fe9f1 (plain)
1
2
3
4
5
6
7
8
9
; RUN: llc < %s -march=x86-64 | grep movq | count 1
; RUN: llc < %s -march=x86-64 | grep {movlhps.*%xmm0, %xmm0}

define <2 x i64> @test3(i64 %A) nounwind {
entry:
	%B = insertelement <2 x i64> undef, i64 %A, i32 1
	ret <2 x i64> %B
}