diff options
Diffstat (limited to 'test/CodeGen/X86/vec_set-9.ll')
-rw-r--r-- | test/CodeGen/X86/vec_set-9.ll | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/CodeGen/X86/vec_set-9.ll b/test/CodeGen/X86/vec_set-9.ll new file mode 100644 index 0000000000..d00ceff540 --- /dev/null +++ b/test/CodeGen/X86/vec_set-9.ll @@ -0,0 +1,8 @@ +; RUN: llvm-as < %s | llc -march=x86-64 | grep movd | count 1 + +define <2 x i64> @test3(i64 %A) { +entry: + %B = insertelement <2 x i64> undef, i64 %A, i32 1 + ret <2 x i64> %B +} + |