summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/SPARC
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/SPARC
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/SPARC')
-rw-r--r--llvm/test/CodeGen/SPARC/ctpop.ll10
-rw-r--r--llvm/test/CodeGen/SPARC/xnor.ll4
2 files changed, 8 insertions, 6 deletions
diff --git a/llvm/test/CodeGen/SPARC/ctpop.ll b/llvm/test/CodeGen/SPARC/ctpop.ll
index ea88bd2fbcd..55fa8c52edc 100644
--- a/llvm/test/CodeGen/SPARC/ctpop.ll
+++ b/llvm/test/CodeGen/SPARC/ctpop.ll
@@ -1,7 +1,9 @@
-; RUN: llvm-upgrade < %s | llvm-as | llc -march=sparc -mattr=-v9 &&
-; RUN: llvm-upgrade < %s | llvm-as | llc -march=sparc -mattr=v9 -enable-sparc-v9-insts &&
-; RUN: llvm-upgrade < %s | llvm-as | llc -march=sparc -mattr=-v9 | not grep popc &&
-; RUN: llvm-upgrade < %s | llvm-as | llc -march=sparc -mattr=v9 -enable-sparc-v9-insts | grep popc
+; RUN: llvm-upgrade < %s | llvm-as | \
+; RUN: llc -march=sparc -mattr=v9 -enable-sparc-v9-insts
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=sparc -mattr=-v9 | \
+; RUN: not grep popc
+; RUN: llvm-upgrade < %s | llvm-as | \
+; RUN: llc -march=sparc -mattr=v9 -enable-sparc-v9-insts | grep popc
declare uint %llvm.ctpop.i32(uint)
uint %test(uint %X) {
diff --git a/llvm/test/CodeGen/SPARC/xnor.ll b/llvm/test/CodeGen/SPARC/xnor.ll
index c3b8010595f..2365176964b 100644
--- a/llvm/test/CodeGen/SPARC/xnor.ll
+++ b/llvm/test/CodeGen/SPARC/xnor.ll
@@ -1,5 +1,5 @@
-; RUN: llvm-upgrade < %s | llvm-as | llc -march=sparc &&
-; RUN: llvm-upgrade < %s | llvm-as | llc -march=sparc | grep xnor | wc -l | grep 2
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=sparc | \
+; RUN: grep xnor | wc -l | grep 2
int %test1(int %X, int %Y) {
%A = xor int %X, %Y
OpenPOWER on IntegriCloud