blob: 919f836841ff6f5a7313d2b568cff9559d7461da [file] [log] [blame]
Dan Gohman36a09472009-09-08 23:54:48 +00001; RUN: llc < %s -march=x86-64 | not grep inc
Evan Chengaf62c092007-10-29 22:07:18 +00002
Evan Cheng01239742009-11-11 07:11:02 +00003define fastcc i32 @decodeMP3(i32 %isize, i32* %done) nounwind {
Evan Chengaf62c092007-10-29 22:07:18 +00004entry:
Dan Gohmanee1c8702010-06-24 15:24:03 +00005 br label %cond_true189
Evan Chengaf62c092007-10-29 22:07:18 +00006
7cond_true189: ; preds = %entry
8 ret i32 0
9
10cond_next191: ; preds = %entry
Dan Gohmanee1c8702010-06-24 15:24:03 +000011 br label %cond_false.i9
Evan Chengaf62c092007-10-29 22:07:18 +000012
13cond_false.i9: ; preds = %cond_next191
14 ret i32 0
15
16cond_next37.i: ; preds = %cond_next191
Dan Gohmanee1c8702010-06-24 15:24:03 +000017 br label %cond_true44.i
Evan Chengaf62c092007-10-29 22:07:18 +000018
19cond_true44.i: ; preds = %cond_next37.i
Dan Gohmanee1c8702010-06-24 15:24:03 +000020 br label %bb414.preheader.i
Evan Chengaf62c092007-10-29 22:07:18 +000021
22cond_true11.i.i: ; preds = %cond_true44.i
23 ret i32 0
24
25cond_false50.i: ; preds = %cond_next37.i
26 ret i32 0
27
28bb414.preheader.i: ; preds = %cond_true44.i
Dan Gohmanee1c8702010-06-24 15:24:03 +000029 br label %do_layer3.exit
Evan Chengaf62c092007-10-29 22:07:18 +000030
31bb.i18: ; preds = %bb414.preheader.i
Dan Gohmanee1c8702010-06-24 15:24:03 +000032 br label %cond_true79.i
Evan Chengaf62c092007-10-29 22:07:18 +000033
34cond_true79.i: ; preds = %bb.i18
35 ret i32 0
36
37bb331.i: ; preds = %bb358.i, %cond_true.i149.i
Dan Gohmanee1c8702010-06-24 15:24:03 +000038 br label %cond_false.i151.i
Evan Chengaf62c092007-10-29 22:07:18 +000039
40cond_true.i149.i: ; preds = %bb331.i
Dan Gohmanee1c8702010-06-24 15:24:03 +000041 br label %bb331.i
Evan Chengaf62c092007-10-29 22:07:18 +000042
43cond_false.i151.i: ; preds = %bb331.i
44 ret i32 0
45
46bb163.i.i: ; preds = %bb178.preheader.i.i, %bb163.i.i
47 %rawout2.451.rec.i.i = phi i64 [ 0, %bb178.preheader.i.i ], [ %indvar.next260.i, %bb163.i.i ] ; <i64> [#uses=2]
48 %i.052.i.i = trunc i64 %rawout2.451.rec.i.i to i32 ; <i32> [#uses=1]
49 %tmp165.i144.i = shl i32 %i.052.i.i, 5 ; <i32> [#uses=1]
50 %tmp165169.i.i = sext i32 %tmp165.i144.i to i64 ; <i64> [#uses=0]
51 %indvar.next260.i = add i64 %rawout2.451.rec.i.i, 1 ; <i64> [#uses=2]
52 %exitcond261.i = icmp eq i64 %indvar.next260.i, 18 ; <i1> [#uses=1]
53 br i1 %exitcond261.i, label %bb178.preheader.i.i, label %bb163.i.i
54
55bb178.preheader.i.i: ; preds = %bb163.i.i, %cond_true.i149.i
56 br label %bb163.i.i
57
58bb358.i: ; preds = %bb.i18
Dan Gohmanee1c8702010-06-24 15:24:03 +000059 br label %bb406.i
Evan Chengaf62c092007-10-29 22:07:18 +000060
61bb406.i: ; preds = %bb358.i
62 ret i32 0
63
64do_layer3.exit: ; preds = %bb414.preheader.i
65 ret i32 0
66}