[llvm-commits] [llvm] r66775 - /llvm/trunk/test/CodeGen/ARM/select_xform.ll

Chris Lattner sabre at nondot.org
Wed Mar 11 22:56:37 PDT 2009


Author: lattner
Date: Thu Mar 12 00:56:37 2009
New Revision: 66775

URL: http://llvm.org/viewvc/llvm-project?rev=66775&view=rev
Log:
add no-unwind, remove duplicate run line.

Modified:
    llvm/trunk/test/CodeGen/ARM/select_xform.ll

Modified: llvm/trunk/test/CodeGen/ARM/select_xform.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/ARM/select_xform.ll?rev=66775&r1=66774&r2=66775&view=diff

==============================================================================
--- llvm/trunk/test/CodeGen/ARM/select_xform.ll (original)
+++ llvm/trunk/test/CodeGen/ARM/select_xform.ll Thu Mar 12 00:56:37 2009
@@ -1,14 +1,13 @@
-; RUN: llvm-as < %s | llc -march=arm
 ; RUN: llvm-as < %s | llc -march=arm | grep mov | count 2
 
-define i32 @t1(i32 %a, i32 %b, i32 %c) {
+define i32 @t1(i32 %a, i32 %b, i32 %c) nounwind {
         %tmp1 = icmp sgt i32 %c, 10
         %tmp2 = select i1 %tmp1, i32 0, i32 2147483647
         %tmp3 = add i32 %tmp2, %b
         ret i32 %tmp3
 }
 
-define i32 @t2(i32 %a, i32 %b, i32 %c, i32 %d) {
+define i32 @t2(i32 %a, i32 %b, i32 %c, i32 %d) nounwind {
         %tmp1 = icmp sgt i32 %c, 10
         %tmp2 = select i1 %tmp1, i32 0, i32 10
         %tmp3 = sub i32 %b, %tmp2





More information about the llvm-commits mailing list