summaryrefslogtreecommitdiffstats
path: root/test/CodeGen/X86/vec_set-8.ll
blob: 9697f1186d4510c7ce70f1c1984c0e68db556ad7 (plain)
1
2
3
4
5
6
7
8
9
10
; RUN: llc < %s -march=x86-64 | not grep movsd
; RUN: llc < %s -march=x86-64 | grep {movd.*%rdi,.*%xmm0}

define <2 x i64> @test(i64 %i) nounwind  {
entry:
	%tmp10 = insertelement <2 x i64> undef, i64 %i, i32 0
	%tmp11 = insertelement <2 x i64> %tmp10, i64 0, i32 1
	ret <2 x i64> %tmp11
}

OpenPOWER on IntegriCloud