summaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/vec_shuffle-20.ll
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2008-07-24 00:22:05 +0000
committerEvan Cheng <evan.cheng@apple.com>2008-07-24 00:22:05 +0000
commit2d58bfac5931e61a4010e3e464e89e0b21fa4abe (patch)
treeff441321fb6f7bce4e61a4778976fa7d42c05d63 /test/CodeGen/X86/vec_shuffle-20.ll
parent1bf9a18834b338484c0a494110cff9cc407be381 (diff)
downloadllvm-2d58bfac5931e61a4010e3e464e89e0b21fa4abe.tar.gz
llvm-2d58bfac5931e61a4010e3e464e89e0b21fa4abe.tar.bz2
llvm-2d58bfac5931e61a4010e3e464e89e0b21fa4abe.tar.xz
New test case.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53971 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/vec_shuffle-20.ll')
-rw-r--r--test/CodeGen/X86/vec_shuffle-20.ll7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/CodeGen/X86/vec_shuffle-20.ll b/test/CodeGen/X86/vec_shuffle-20.ll
new file mode 100644
index 0000000000..411a00fe2d
--- /dev/null
+++ b/test/CodeGen/X86/vec_shuffle-20.ll
@@ -0,0 +1,7 @@
+; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2 -stats -info-output-file - | grep asm-printer | grep 3
+
+define <4 x float> @func(<4 x float> %fp0, <4 x float> %fp1) nounwind {
+entry:
+ shufflevector <4 x float> %fp0, <4 x float> %fp1, <4 x i32> < i32 0, i32 1, i32 2, i32 7 > ; <<4 x float>>:0 [#uses=1]
+ ret <4 x float> %0
+}