Add the rest of the build system logic for optional target disassemblers
[oota-llvm.git] / test / Transforms / LoopUnswitch / 5373.ll
1 ; RUN: opt < %s -loop-unswitch -stats -disable-output |& grep "3 loop-unswitch - Number of branches unswitched"
2
3 define noalias i32* @func_16(i32** %p_18, i32* %p_20) noreturn nounwind ssp {
4 entry:
5   %lnot = icmp eq i32** %p_18, null               ; <i1> [#uses=1]
6   %lnot6 = icmp eq i32* %p_20, null               ; <i1> [#uses=1]
7   br label %for.body
8
9 for.body:                                         ; preds = %cond.end, %entry
10   br i1 %lnot, label %cond.end, label %cond.true
11
12 cond.true:                                        ; preds = %for.body
13   tail call void @f()
14   unreachable
15
16 cond.end:                                         ; preds = %for.body
17   br i1 %lnot6, label %for.body, label %cond.true10
18
19 cond.true10:                                      ; preds = %cond.end
20   tail call void @f()
21   unreachable
22 }
23
24 declare void @f() noreturn