[llvm-commits] CVS: llvm/test/Regression/CodeGen/ARM/long.ll
    Rafael Espindola 
    rafael.espindola at gmail.com
       
    Fri Oct 13 10:19:38 PDT 2006
    
    
  
Changes in directory llvm/test/Regression/CodeGen/ARM:
long.ll updated: 1.4 -> 1.5
---
Log message:
add SBCS and SUBS
---
Diffs of the changes:  (+9 -1)
 long.ll |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletion(-)
Index: llvm/test/Regression/CodeGen/ARM/long.ll
diff -u llvm/test/Regression/CodeGen/ARM/long.ll:1.4 llvm/test/Regression/CodeGen/ARM/long.ll:1.5
--- llvm/test/Regression/CodeGen/ARM/long.ll:1.4	Fri Oct 13 11:47:22 2006
+++ llvm/test/Regression/CodeGen/ARM/long.ll	Fri Oct 13 12:19:20 2006
@@ -5,7 +5,9 @@
 ; RUN: llvm-as < %s | llc -march=arm | grep "mov r0, #-2147483648" | wc -l | grep 1 &&
 ; RUN: llvm-as < %s | llc -march=arm | grep ".word.*4294967295" | wc -l | grep 1 &&
 ; RUN: llvm-as < %s | llc -march=arm | grep "adds" | wc -l | grep 1 &&
-; RUN: llvm-as < %s | llc -march=arm | grep "adcs" | wc -l | grep 1
+; RUN: llvm-as < %s | llc -march=arm | grep "adcs" | wc -l | grep 1 &&
+; RUN: llvm-as < %s | llc -march=arm | grep "subs" | wc -l | grep 1 &&
+; RUN: llvm-as < %s | llc -march=arm | grep "sbcs" | wc -l | grep 1
 
 long %f1() {
 entry:
@@ -44,3 +46,9 @@
 	ret void
 }
 declare long %f8()
+
+long %f9(long %a, long %b) {
+entry:
+	%tmp = sub long %a, %b
+	ret long %tmp
+}
    
    
More information about the llvm-commits
mailing list