From 2d58bfac5931e61a4010e3e464e89e0b21fa4abe Mon Sep 17 00:00:00 2001 From: Evan Cheng Date: Thu, 24 Jul 2008 00:22:05 +0000 Subject: [PATCH] New test case. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53971 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CodeGen/X86/vec_shuffle-20.ll | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 test/CodeGen/X86/vec_shuffle-20.ll diff --git a/test/CodeGen/X86/vec_shuffle-20.ll b/test/CodeGen/X86/vec_shuffle-20.ll new file mode 100644 index 00000000000..411a00fe2d9 --- /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 +}