summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/PowerPC/vec_shuffle.ll
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2007-04-16 17:36:08 +0000
committerReid Spencer <rspencer@reidspencer.com>2007-04-16 17:36:08 +0000
commit6e87ec4351149da232eff0814428f24ad723e6ac (patch)
treea20b1c26394da0aa029206080cff1b616c750c27 /llvm/test/CodeGen/PowerPC/vec_shuffle.ll
parent675732ad38db2c284dfbf9c1ec62ee535dfd5c2b (diff)
downloadbcm5719-llvm-6e87ec4351149da232eff0814428f24ad723e6ac.tar.gz
bcm5719-llvm-6e87ec4351149da232eff0814428f24ad723e6ac.zip
For PR1319:
Remove && from the end of the lines to prevent tests from throwing run lines into the background. Also, clean up places where the same command is run multiple times by using a temporary file. llvm-svn: 36142
Diffstat (limited to 'llvm/test/CodeGen/PowerPC/vec_shuffle.ll')
-rw-r--r--llvm/test/CodeGen/PowerPC/vec_shuffle.ll14
1 files changed, 8 insertions, 6 deletions
diff --git a/llvm/test/CodeGen/PowerPC/vec_shuffle.ll b/llvm/test/CodeGen/PowerPC/vec_shuffle.ll
index 8e64aacb943..ba856ee98d4 100644
--- a/llvm/test/CodeGen/PowerPC/vec_shuffle.ll
+++ b/llvm/test/CodeGen/PowerPC/vec_shuffle.ll
@@ -1,9 +1,11 @@
-; RUN: llvm-upgrade < %s | llvm-as | opt -instcombine | llc -march=ppc32 -mcpu=g5 | not grep vperm &&
-; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 -mcpu=g5 | grep vsldoi | wc -l | grep 2 &&
-; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 -mcpu=g5 | grep vmrgh | wc -l | grep 7 &&
-; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 -mcpu=g5 | grep vmrgl | wc -l | grep 6 &&
-; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 -mcpu=g5 | grep vpkuhum | wc -l | grep 1 &&
-; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 -mcpu=g5 | grep vpkuwum | wc -l | grep 1
+; RUN: llvm-upgrade < %s | llvm-as | opt -instcombine | \
+; RUN: llc -march=ppc32 -mcpu=g5 | not grep vperm
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 -mcpu=g5 > %t
+; RUN: grep vsldoi %t | wc -l | grep 2
+; RUN: grep vmrgh %t | wc -l | grep 7
+; RUN: grep vmrgl %t | wc -l | grep 6
+; RUN: grep vpkuhum %t | wc -l | grep 1
+; RUN: grep vpkuwum %t | wc -l | grep 1
void %VSLDOI_xy(<8 x short>* %A, <8 x short>* %B) {
entry:
OpenPOWER on IntegriCloud