summaryrefslogtreecommitdiff
path: root/test/CodeGen
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-08-11 16:46:38 +0000
committerChris Lattner <sabre@nondot.org>2006-08-11 16:46:38 +0000
commit84ff46b0d908aaf1c4d1f2d92195e40fa25c8dc0 (patch)
tree2e5c563b367a3d4cafb19183270e7e45e2bc484e /test/CodeGen
parent8f652ebe8964c9668ff77e8998510d578fa9dac1 (diff)
downloadllvm-84ff46b0d908aaf1c4d1f2d92195e40fa25c8dc0.tar.gz
llvm-84ff46b0d908aaf1c4d1f2d92195e40fa25c8dc0.tar.bz2
llvm-84ff46b0d908aaf1c4d1f2d92195e40fa25c8dc0.tar.xz
New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29606 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen')
-rw-r--r--test/CodeGen/PowerPC/2006-08-11-RetVector.ll8
1 files changed, 8 insertions, 0 deletions
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 0000000000..ca9841e30e
--- /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
+}
+