1 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2 ; RUN: llc < %s -mtriple=x86_64-- | FileCheck %s
4 define fastcc i32 @decodeMP3(i32 %isize, ptr %done) nounwind {
5 ; CHECK-LABEL: decodeMP3:
6 ; CHECK: # %bb.0: # %entry
7 ; CHECK-NEXT: xorl %eax, %eax
10 br label %cond_true189
12 cond_true189: ; preds = %entry
15 cond_next191: ; preds = %entry
16 br label %cond_false.i9
18 cond_false.i9: ; preds = %cond_next191
21 cond_next37.i: ; preds = %cond_next191
22 br label %cond_true44.i
24 cond_true44.i: ; preds = %cond_next37.i
25 br label %bb414.preheader.i
27 cond_true11.i.i: ; preds = %cond_true44.i
30 cond_false50.i: ; preds = %cond_next37.i
33 bb414.preheader.i: ; preds = %cond_true44.i
34 br label %do_layer3.exit
36 bb.i18: ; preds = %bb414.preheader.i
37 br label %cond_true79.i
39 cond_true79.i: ; preds = %bb.i18
42 bb331.i: ; preds = %bb358.i, %cond_true.i149.i
43 br label %cond_false.i151.i
45 cond_true.i149.i: ; preds = %bb331.i
48 cond_false.i151.i: ; preds = %bb331.i
51 bb163.i.i: ; preds = %bb178.preheader.i.i, %bb163.i.i
52 %rawout2.451.rec.i.i = phi i64 [ 0, %bb178.preheader.i.i ], [ %indvar.next260.i, %bb163.i.i ] ; <i64> [#uses=2]
53 %i.052.i.i = trunc i64 %rawout2.451.rec.i.i to i32 ; <i32> [#uses=1]
54 %tmp165.i144.i = shl i32 %i.052.i.i, 5 ; <i32> [#uses=1]
55 %tmp165169.i.i = sext i32 %tmp165.i144.i to i64 ; <i64> [#uses=0]
56 %indvar.next260.i = add i64 %rawout2.451.rec.i.i, 1 ; <i64> [#uses=2]
57 %exitcond261.i = icmp eq i64 %indvar.next260.i, 18 ; <i1> [#uses=1]
58 br i1 %exitcond261.i, label %bb178.preheader.i.i, label %bb163.i.i
60 bb178.preheader.i.i: ; preds = %bb163.i.i, %cond_true.i149.i
63 bb358.i: ; preds = %bb.i18
66 bb406.i: ; preds = %bb358.i
69 do_layer3.exit: ; preds = %bb414.preheader.i