Merge branch 'master' into msp430
[llvm/msp430.git] / test / Transforms / LoopUnswitch / 2007-07-13-DomInfo.ll
blobde3f670f2b9527b63200ff7aac6cc5ce3a5f2736
1 ; RUN: llvm-as < %s | opt -loop-unswitch -disable-output
3 define i32 @main(i32 %argc, i8** %argv) {
4 entry:
5         %tmp1785365 = icmp ult i32 0, 100               ; <i1> [#uses=1]
6         br label %bb
8 bb:             ; preds = %cond_true, %entry
9         br i1 false, label %cond_true, label %cond_next
11 cond_true:              ; preds = %bb
12         br i1 %tmp1785365, label %bb, label %bb1788
14 cond_next:              ; preds = %bb
15         %iftmp.1.0 = select i1 false, i32 0, i32 0              ; <i32> [#uses=1]
16         br i1 false, label %cond_true47, label %cond_next74
18 cond_true47:            ; preds = %cond_next
19         %tmp53 = urem i32 %iftmp.1.0, 0         ; <i32> [#uses=0]
20         ret i32 0
22 cond_next74:            ; preds = %cond_next
23         ret i32 0
25 bb1788:         ; preds = %cond_true
26         ret i32 0