llvm.org GIT mirror llvm / release_37 test / CodeGen / X86 / vec_set-C.ll
release_37

Tree @release_37 (Download .tar.gz)

vec_set-C.ll @release_37raw · history · blame

1
2
3
4
5
6
7
8
; RUN: llc < %s -march=x86 -mtriple=i386-linux-gnu -mattr=+sse2,-avx | grep movq
; RUN: llc < %s -march=x86 -mtriple=i386-linux-gnu -mattr=+sse2,-avx | grep mov | count 1
; RUN: llc < %s -march=x86-64 -mtriple=x86_64-pc-linux -mattr=+sse2,-avx | grep movd

define <2 x i64> @t1(i64 %x) nounwind  {
	%tmp8 = insertelement <2 x i64> zeroinitializer, i64 %x, i32 0
	ret <2 x i64> %tmp8
}