Home | History | Annotate | Download | only in ARM
      1 ; RUN: llc < %s -mtriple=armv7-apple-ios | FileCheck %s
      2 
      3 define void @foo(i32 %X, i32 %Y) {
      4 entry:
      5 ; CHECK: cmpne
      6 ; CHECK: bxhi lr
      7 	%tmp1 = icmp ult i32 %X, 4		; <i1> [#uses=1]
      8 	%tmp4 = icmp eq i32 %Y, 0		; <i1> [#uses=1]
      9 	%tmp7 = or i1 %tmp4, %tmp1		; <i1> [#uses=1]
     10 	br i1 %tmp7, label %cond_true, label %UnifiedReturnBlock
     11 
     12 cond_true:		; preds = %entry
     13 	%tmp10 = call i32 (...) @bar( )		; <i32> [#uses=0]
     14 	ret void
     15 
     16 UnifiedReturnBlock:		; preds = %entry
     17 	ret void
     18 }
     19 
     20 declare i32 @bar(...)
     21