Home | History | Annotate | Download | only in ARM
      1 ; RUN: llc < %s -march=arm -mattr=+v4t
      2 ; RUN: llc < %s -march=arm -mattr=+v4t | grep bx | count 1
      3 
      4 define i32 @t1(i32 %a, i32 %b) {
      5 	%tmp2 = icmp eq i32 %a, 0
      6 	br i1 %tmp2, label %cond_false, label %cond_true
      7 
      8 cond_true:
      9 	%tmp5 = add i32 %b, 1
     10 	ret i32 %tmp5
     11 
     12 cond_false:
     13 	%tmp7 = add i32 %b, -1
     14 	ret i32 %tmp7
     15 }
     16