Changes in directory llvm/test/CodeGen/ARM:

ispositive.ll added (r1.1)
---
Log message:

For PR1370: http://llvm.org/PR1370 :
Rearrange some tests so that if PowerPC is not being built we don't try to
run PowerPC specific tests.


---
Diffs of the changes:  (+10 -0)

 ispositive.ll |   10 ++++++++++
 1 files changed, 10 insertions(+)


Index: llvm/test/CodeGen/ARM/ispositive.ll
diff -c /dev/null llvm/test/CodeGen/ARM/ispositive.ll:1.1
*** /dev/null   Mon Apr 30 00:12:08 2007
--- llvm/test/CodeGen/ARM/ispositive.ll Mon Apr 30 00:11:58 2007
***************
*** 0 ****
--- 1,10 ----
+ ; RUN: llvm-as < %s | llc -march=arm | grep {mov r0, r0, lsr #31}
+ ; RUN: llvm-as < %s | llc -march=thumb | grep {lsr r0, r0, #31}
+ 
+ define i32 @test1(i32 %X) {
+ entry:
+         icmp slt i32 %X, 0              ; <i1>:0 [#uses=1]
+         zext i1 %0 to i32               ; <i32>:1 [#uses=1]
+         ret i32 %1
+ }
+ 



_______________________________________________
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Reply via email to