diff options
author | Chris Lattner <sabre@nondot.org> | 2007-12-29 19:31:47 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2007-12-29 19:31:47 +0000 |
commit | 03c079d5fca2f98a1665af44b3c222d74e580079 (patch) | |
tree | 3d5799baf4380c2a461d987edd644f7e2314ce25 /test/CodeGen/X86/vec_set-8.ll | |
parent | 18f07f49c528c1e43dbf82b05216726d84dbc4b3 (diff) | |
download | external_llvm-03c079d5fca2f98a1665af44b3c222d74e580079.zip external_llvm-03c079d5fca2f98a1665af44b3c222d74e580079.tar.gz external_llvm-03c079d5fca2f98a1665af44b3c222d74e580079.tar.bz2 |
One readme entry is done, one is really easy (Evan, want to investigate
eliminating the llvm.x86.sse2.loadl.pd intrinsic?), one shuffle optzn
may be done (if shufps is better than pinsw, Evan, please review), and
we already know about LICM of simple instructions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45407 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/vec_set-8.ll')
-rw-r--r-- | test/CodeGen/X86/vec_set-8.ll | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/CodeGen/X86/vec_set-8.ll b/test/CodeGen/X86/vec_set-8.ll new file mode 100644 index 0000000..cca436b --- /dev/null +++ b/test/CodeGen/X86/vec_set-8.ll @@ -0,0 +1,10 @@ +; RUN: llvm-as < %s | llc -march=x86-64 | not grep movsd +; RUN: llvm-as < %s | llc -march=x86-64 | grep {movd.*%rdi,.*%xmm0} + +define <2 x i64> @test(i64 %i) nounwind { +entry: + %tmp10 = insertelement <2 x i64> undef, i64 %i, i32 0 + %tmp11 = insertelement <2 x i64> %tmp10, i64 0, i32 1 + ret <2 x i64> %tmp11 +} + |