[llvm-commits] CVS: llvm/test/CodeGen/ARM/2007-03-13-InstrSched.ll addrmode.ll iabs.ll lsr-code-insertion.ll

Reid Spencer reid at x10sys.com
Mon Apr 16 08:16:36 PDT 2007



Changes in directory llvm/test/CodeGen/ARM:

2007-03-13-InstrSched.ll updated: 1.4 -> 1.5
addrmode.ll updated: 1.1 -> 1.2
iabs.ll updated: 1.1 -> 1.2
lsr-code-insertion.ll updated: 1.1 -> 1.2
---
Log message:

For PR1319: http://llvm.org/PR1319 :
Fix test syntax per new rules.


---
Diffs of the changes:  (+11 -9)

 2007-03-13-InstrSched.ll |    3 ++-
 addrmode.ll              |    3 +--
 iabs.ll                  |    6 ++++--
 lsr-code-insertion.ll    |    8 ++++----
 4 files changed, 11 insertions(+), 9 deletions(-)


Index: llvm/test/CodeGen/ARM/2007-03-13-InstrSched.ll
diff -u llvm/test/CodeGen/ARM/2007-03-13-InstrSched.ll:1.4 llvm/test/CodeGen/ARM/2007-03-13-InstrSched.ll:1.5
--- llvm/test/CodeGen/ARM/2007-03-13-InstrSched.ll:1.4	Wed Apr  4 03:49:10 2007
+++ llvm/test/CodeGen/ARM/2007-03-13-InstrSched.ll	Mon Apr 16 10:15:51 2007
@@ -1,4 +1,5 @@
-; RUN: llvm-as < %s | llc -mtriple=arm-apple-darwin -relocation-model=pic -mattr=+v6 -stats 2>&1 | grep 'asm-printer' | grep 41
+; RUN: llvm-as < %s | llc -mtriple=arm-apple-darwin -relocation-model=pic \
+; RUN:   -mattr=+v6 -stats |& grep asm-printer | grep 41
 
 define void @test(i32 %tmp56222, i32 %tmp36224, i32 %tmp46223, i32 %i.0196.0.ph, i32 %tmp8, i32* %tmp1011, i32** %tmp1, i32* %d2.1.out, i32* %d3.1.out, i32* %d0.1.out, i32* %d1.1.out) {
 newFuncRoot:


Index: llvm/test/CodeGen/ARM/addrmode.ll
diff -u llvm/test/CodeGen/ARM/addrmode.ll:1.1 llvm/test/CodeGen/ARM/addrmode.ll:1.2
--- llvm/test/CodeGen/ARM/addrmode.ll:1.1	Wed Mar 14 18:26:40 2007
+++ llvm/test/CodeGen/ARM/addrmode.ll	Mon Apr 16 10:15:51 2007
@@ -1,5 +1,4 @@
-; RUN: llvm-as < %s | llc -march=arm &&
-; RUN: llvm-as < %s | llc -march=arm -stats 2>&1 | grep 'asm-printer' | grep 4
+; RUN: llvm-as < %s | llc -march=arm -stats |& grep asm-printer | grep 4
 
 define i32 @t1(i32 %a) {
 	%b = mul i32 %a, 9


Index: llvm/test/CodeGen/ARM/iabs.ll
diff -u llvm/test/CodeGen/ARM/iabs.ll:1.1 llvm/test/CodeGen/ARM/iabs.ll:1.2
--- llvm/test/CodeGen/ARM/iabs.ll:1.1	Wed Apr 11 00:02:57 2007
+++ llvm/test/CodeGen/ARM/iabs.ll	Mon Apr 16 10:15:51 2007
@@ -1,5 +1,7 @@
-; RUN: llvm-as < %s | llc -march=arm -stats 2>&1 | grep '3 .*Number of machine instrs printed' &&
-; RUN: llvm-as < %s | llc -march=thumb -stats 2>&1 | grep '4 .*Number of machine instrs printed'
+; RUN: llvm-as < %s | llc -march=arm -stats |& \
+; RUN:   grep {3 .*Number of machine instrs printed}
+; RUN: llvm-as < %s | llc -march=thumb -stats |& \
+; RUN:   grep {4 .*Number of machine instrs printed}
 
 ;; Integer absolute value, should produce something as good as: ARM:
 ;;   add r3, r0, r0, asr #31


Index: llvm/test/CodeGen/ARM/lsr-code-insertion.ll
diff -u llvm/test/CodeGen/ARM/lsr-code-insertion.ll:1.1 llvm/test/CodeGen/ARM/lsr-code-insertion.ll:1.2
--- llvm/test/CodeGen/ARM/lsr-code-insertion.ll:1.1	Fri Apr 13 15:38:14 2007
+++ llvm/test/CodeGen/ARM/lsr-code-insertion.ll	Mon Apr 16 10:15:51 2007
@@ -1,7 +1,7 @@
-; RUN: llvm-as < %s | llc -stats 2>&1 | grep '40.*Number of machine instrs printed'
-; This test really wants to check that the resultant "cond_true" block only has a single
-; store in it, and that cond_true55 only has code to materialize the constant and do
-; a store.  We do *not* want something like this:
+; RUN: llvm-as < %s | llc -stats |& grep {40.*Number of machine instrs printed}
+; This test really wants to check that the resultant "cond_true" block only 
+; has a single store in it, and that cond_true55 only has code to materialize 
+; the constant and do a store.  We do *not* want something like this:
 ;
 ;LBB1_3: @cond_true
 ;        add r8, r0, r6






More information about the llvm-commits mailing list