1 ; RUN: llc < %s -mtriple=thumbv7-apple-darwin -mcpu=cortex-a8 -arm-atomic-cfg-tidy=0 | FileCheck %s
4 declare double @foo(double) nounwind readnone
6 define void @t(i32 %c, double %b) {
9 %cmp1 = icmp ne i32 %c, 0
10 br i1 %cmp1, label %bb3, label %bb1
16 %cmp2 = icmp ne i32 %c, 0
17 br i1 %cmp2, label %bb7, label %bb5
23 %cmp3 = icmp ne i32 %c, 0
24 br i1 %cmp3, label %bb11, label %bb9
28 %0 = tail call double @foo(double %b) nounwind readnone ; <double> [#uses=0]
31 bb11: ; preds = %bb9, %bb7
32 %1 = getelementptr i32, i32* undef, i32 0