1; RUN: llc < %s -mtriple=thumbv7-apple-darwin10 | FileCheck %s 2 3; CHECK: _f 4; CHECK-NOT: ands 5; CHECK: cmp 6; CHECK: blxle _g 7 8define i32 @f(i32 %a, i32 %b) nounwind ssp { 9entry: 10 %and = and i32 %b, %a 11 %cmp = icmp slt i32 %and, 1 12 br i1 %cmp, label %if.then, label %if.end 13 14if.then: ; preds = %entry 15 tail call void (...)* @g(i32 %a, i32 %b) nounwind 16 br label %if.end 17 18if.end: ; preds = %if.then, %entry 19 ret i32 %and 20} 21 22declare void @g(...) 23