diff options
Diffstat (limited to 'test/CodeGen/X86/vec_set-C.ll')
-rw-r--r-- | test/CodeGen/X86/vec_set-C.ll | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/CodeGen/X86/vec_set-C.ll b/test/CodeGen/X86/vec_set-C.ll new file mode 100644 index 0000000..eef9a61 --- /dev/null +++ b/test/CodeGen/X86/vec_set-C.ll @@ -0,0 +1,7 @@ +; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2 | grep movq +; RUN: llvm-as < %s | llc -march=x86-64 -mattr=+sse2 | 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 +} |