summaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/vec_set-9.ll
blob: a73909097c11b146ec0b5663e97dd2b111a579a7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
; RUN: llc < %s -march=x86-64 -mattr=-avx,-pad-short-functions | FileCheck %s

; CHECK: test3
; CHECK: movd
; CHECK-NOT: movd
; CHECK: {{movlhps.*%xmm0, %xmm0}}
; CHECK-NEXT: ret

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