New testcase
authorChris Lattner <sabre@nondot.org>
Fri, 11 Aug 2006 16:46:38 +0000 (16:46 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 11 Aug 2006 16:46:38 +0000 (16:46 +0000)
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 [new file with mode: 0644]

diff --git a/test/CodeGen/PowerPC/2006-08-11-RetVector.ll b/test/CodeGen/PowerPC/2006-08-11-RetVector.ll
new file mode 100644 (file)
index 0000000..ca9841e
--- /dev/null
@@ -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
+}
+