[llvm-commits] CVS: llvm/test/CodeGen/SPARC/ctpop.ll xnor.ll

Reid Spencer reid at x10sys.com
Mon Apr 16 10:38:17 PDT 2007



Changes in directory llvm/test/CodeGen/SPARC:

ctpop.ll updated: 1.2 -> 1.3
xnor.ll updated: 1.2 -> 1.3
---
Log message:

For PR1319: http://llvm.org/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.


---
Diffs of the changes:  (+8 -6)

 ctpop.ll |   10 ++++++----
 xnor.ll  |    4 ++--
 2 files changed, 8 insertions(+), 6 deletions(-)


Index: llvm/test/CodeGen/SPARC/ctpop.ll
diff -u llvm/test/CodeGen/SPARC/ctpop.ll:1.2 llvm/test/CodeGen/SPARC/ctpop.ll:1.3
--- llvm/test/CodeGen/SPARC/ctpop.ll:1.2	Fri Dec  1 22:23:08 2006
+++ llvm/test/CodeGen/SPARC/ctpop.ll	Mon Apr 16 12:36:07 2007
@@ -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) {


Index: llvm/test/CodeGen/SPARC/xnor.ll
diff -u llvm/test/CodeGen/SPARC/xnor.ll:1.2 llvm/test/CodeGen/SPARC/xnor.ll:1.3
--- llvm/test/CodeGen/SPARC/xnor.ll:1.2	Fri Dec  1 22:23:08 2006
+++ llvm/test/CodeGen/SPARC/xnor.ll	Mon Apr 16 12:36:07 2007
@@ -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






More information about the llvm-commits mailing list