diff options
Diffstat (limited to 'test/CodeGen/X86/vec_set-C.ll')
-rw-r--r-- | test/CodeGen/X86/vec_set-C.ll | 8 |
1 files changed, 8 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..7636ac3 --- /dev/null +++ b/test/CodeGen/X86/vec_set-C.ll @@ -0,0 +1,8 @@ +; RUN: llc < %s -march=x86 -mattr=+sse2 | grep movq +; RUN: llc < %s -march=x86 -mattr=+sse2 | grep mov | count 1 +; RUN: llc < %s -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 +} |