[llvm-commits] CVS: llvm/test/Regression/CodeGen/ARM/constants.ll

Reid Spencer reid at x10sys.com
Mon Jan 1 21:55:30 PST 2007



Changes in directory llvm/test/Regression/CodeGen/ARM:

constants.ll updated: 1.6 -> 1.7
---
Log message:

For PR1070: http://llvm.org/PR1070 :
Tweak the RUN: lines of these tests to accommodate the renaming of 
variables done by llvm-upgrade. The renaming occurs as a result of avoiding
name collisons for collapsed type planes. Conflicting names have a .u
(unsigned) or .s (signed) suffix added. This patch updates the grep
expression to accommodate the new names.


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

 constants.ll |   18 +++++++++---------
 1 files changed, 9 insertions(+), 9 deletions(-)


Index: llvm/test/Regression/CodeGen/ARM/constants.ll
diff -u llvm/test/Regression/CodeGen/ARM/constants.ll:1.6 llvm/test/Regression/CodeGen/ARM/constants.ll:1.7
--- llvm/test/Regression/CodeGen/ARM/constants.ll:1.6	Thu Dec 14 12:58:37 2006
+++ llvm/test/Regression/CodeGen/ARM/constants.ll	Mon Jan  1 23:55:05 2007
@@ -1,12 +1,12 @@
-; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm &&
-; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm | grep "mov r0, #0" | wc -l | grep 1 &&
-; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm | grep "mov r0, #255" | wc -l | grep 1 &&
-; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm | grep "mov r0, #256" | wc -l | grep 1 &&
-; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm | grep ".word.*257" | wc -l | grep 1 &&
-; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm | grep "mov r0, #-1073741761" | wc -l | grep 1 &&
-; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm | grep "mov r0, #1008" | wc -l | grep 1 &&
-; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm | grep "cmp r0, #65536" | wc -l | grep 1 &&
-; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm | grep "\.comm.*a,4,4" | wc -l | grep 1
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm -o %t.s -f &&
+; RUN: grep "mov r0, #0" %t.s     | wc -l | grep 1 &&
+; RUN: grep "mov r0, #255" %t.s   | wc -l | grep 1 &&
+; RUN: grep "mov r0, #256" %t.s   | wc -l | grep 1 &&
+; RUN: grep ".word.*257" %t.s     | wc -l | grep 1 &&
+; RUN: grep "mov r0, #-1073741761" %t.s | wc -l | grep 1 &&
+; RUN: grep "mov r0, #1008" %t.s  | wc -l | grep 1 &&
+; RUN: grep "cmp r0, #65536" %t.s | wc -l | grep 1 &&
+; RUN: grep "\.comm.*a.s,4,4" %t.s  | wc -l | grep 1
 
 %a = internal global int 0
 






More information about the llvm-commits mailing list