1 ; RUN: llc < %s -mtriple=thumbv7-apple-darwin10 | FileCheck %s
8 define i32 @f(i32 %a, i32 %b) nounwind ssp {
10 %add = add nsw i32 %b, %a
11 %cmp = icmp eq i32 %add, 0
12 br i1 %cmp, label %if.then, label %if.end
14 if.then: ; preds = %entry
15 tail call void (...) @h(i32 %a, i32 %b) nounwind
18 if.end: ; preds = %if.then, %entry
27 define i32 @g(i32 %a, i32 %b) nounwind ssp {
30 %cmp = icmp eq i32 %add, 0
31 br i1 %cmp, label %if.then, label %if.end
33 if.then: ; preds = %entry
34 tail call void (...) @h(i32 %a, i32 %b) nounwind
37 if.end: ; preds = %if.then, %entry