diff options
Diffstat (limited to 'test/CodeGen/X86/vec_insert-3.ll')
-rw-r--r-- | test/CodeGen/X86/vec_insert-3.ll | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/CodeGen/X86/vec_insert-3.ll b/test/CodeGen/X86/vec_insert-3.ll new file mode 100644 index 0000000..1d374b4 --- /dev/null +++ b/test/CodeGen/X86/vec_insert-3.ll @@ -0,0 +1,6 @@ +; RUN: llvm-as < %s | llc -march=x86-64 -mattr=+sse2 | grep punpcklqdq | count 1 + +define <2 x i64> @t1(i64 %s, <2 x i64> %tmp) { + %tmp1 = insertelement <2 x i64> %tmp, i64 %s, i32 1 + ret <2 x i64> %tmp1 +} |