23 lines · plain
1; RUN: llc < %s -mtriple=thumbv7-apple-darwin10 | FileCheck %s2 3; CHECK: _f4; CHECK-NOT: ands5; CHECK: cmp6; CHECK: blle _g7 8define i32 @f(i32 %a, i32 %b) nounwind ssp {9entry:10 %and = and i32 %b, %a11 %cmp = icmp slt i32 %and, 112 br i1 %cmp, label %if.then, label %if.end13 14if.then: ; preds = %entry15 tail call void (...) @g(i32 %a, i32 %b) nounwind16 br label %if.end17 18if.end: ; preds = %if.then, %entry19 ret i32 %and20}21 22declare void @g(...)23