llvm.org GIT mirror llvm / 0a6ee6d test / CodeGen / X86 / vec_set-9.ll
0a6ee6d

Tree @0a6ee6d (Download .tar.gz)

vec_set-9.ll @0a6ee6draw · history · blame

1
2
3
4
5
6
7
8
; RUN: llvm-as < %s | llc -march=x86-64 | grep movd | count 1
; RUN: llvm-as < %s | llc -march=x86-64 | grep {punpcklqdq.*%xmm0, %xmm0}

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