1 ; RUN: llc < %s -mtriple=thumbv7-apple-darwin -mattr=+thumb2 | FileCheck %s
3 define i32 @f1(i32 %a, i32 %b, i32* %v) {
7 %tmp = icmp eq i32 %a, %b ; <i1> [#uses=1]
8 br i1 %tmp, label %cond_true, label %return
10 cond_true: ; preds = %entry
14 return: ; preds = %entry
18 define i32 @f2(i32 %a, i32 %b, i32* %v) {
22 %tmp = icmp slt i32 %a, %b ; <i1> [#uses=1]
23 br i1 %tmp, label %cond_true, label %return
25 cond_true: ; preds = %entry
29 return: ; preds = %entry
33 define i32 @f3(i32 %a, i32 %b, i32* %v) {
37 %tmp = icmp ult i32 %a, %b ; <i1> [#uses=1]
38 br i1 %tmp, label %cond_true, label %return
40 cond_true: ; preds = %entry
44 return: ; preds = %entry
48 define i32 @f4(i32 %a, i32 %b, i32* %v) {
52 %tmp = icmp ult i32 %a, %b ; <i1> [#uses=1]
53 br i1 %tmp, label %return, label %cond_true
55 cond_true: ; preds = %entry
59 return: ; preds = %entry