From 84ff46b0d908aaf1c4d1f2d92195e40fa25c8dc0 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Fri, 11 Aug 2006 16:46:38 +0000 Subject: [PATCH] New testcase git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29606 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CodeGen/PowerPC/2006-08-11-RetVector.ll | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 test/CodeGen/PowerPC/2006-08-11-RetVector.ll diff --git a/test/CodeGen/PowerPC/2006-08-11-RetVector.ll b/test/CodeGen/PowerPC/2006-08-11-RetVector.ll new file mode 100644 index 00000000000..ca9841e30ed --- /dev/null +++ b/test/CodeGen/PowerPC/2006-08-11-RetVector.ll @@ -0,0 +1,8 @@ +; RUN: llvm-as < %s | llc -march=ppc32 -mcpu=g5 | grep vsldoi && +; RUN: llvm-as < %s | llc -march=ppc32 -mcpu=g5 | not grep vor + +<4 x float> %func(<4 x float> %fp0, <4 x float> %fp1) { + %tmp76 = shufflevector <4 x float> %fp0, <4 x float> %fp1, <4 x uint> < uint 0, uint 1, uint 2, uint 7 > ; <<4 x float>> [#uses=1] + ret <4 x float> %tmp76 +} +