From c353a5f3b3f5c08f5efb7187bb3aa634a02d317e Mon Sep 17 00:00:00 2001 From: Evan Cheng Date: Thu, 24 Jul 2008 00:22:05 +0000 Subject: [PATCH] New test case. llvm-svn: 53971 --- llvm/test/CodeGen/X86/vec_shuffle-20.ll | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 llvm/test/CodeGen/X86/vec_shuffle-20.ll diff --git a/llvm/test/CodeGen/X86/vec_shuffle-20.ll b/llvm/test/CodeGen/X86/vec_shuffle-20.ll new file mode 100644 index 000000000000..411a00fe2d90 --- /dev/null +++ b/llvm/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 +}