blob: 79ac1f072de6aaa76b8b6a52185cfd7a774e1045 [file] [log] [blame]
Dan Gohman3c7d3082009-09-11 18:01:28 +00001; RUN: opt < %s -indvars -disable-output
Dan Gohmanf17a25c2007-07-18 16:29:46 +00002target datalayout = "e-p:32:32"
Dan Gohmanf17a25c2007-07-18 16:29:46 +00003target triple = "i686-apple-darwin8"
Tanya Lattner4c4d0b82008-03-01 09:15:35 +00004 %struct.vorbis_dsp_state = type { i32, %struct.vorbis_info*, float**, float**, i32, i32, i32, i32, i32, i32, i32, i32, i32, i64, i64, i64, i64, i64, i64, i8* }
5 %struct.vorbis_info = type { i32, i32, i32, i32, i32, i32, i32, i8* }
Dan Gohmanf17a25c2007-07-18 16:29:46 +00006
Tanya Lattner4c4d0b82008-03-01 09:15:35 +00007define void @_ve_envelope_search() {
Dan Gohmanf17a25c2007-07-18 16:29:46 +00008entry:
Tanya Lattner4c4d0b82008-03-01 09:15:35 +00009 br i1 false, label %cond_true27, label %bb137
Dan Gohmanf17a25c2007-07-18 16:29:46 +000010
11cond_true27: ; preds = %entry
Tanya Lattner4c4d0b82008-03-01 09:15:35 +000012 br i1 false, label %cond_true52, label %bb80
Dan Gohmanf17a25c2007-07-18 16:29:46 +000013
14cond_true52: ; preds = %cond_true27
Tanya Lattner4c4d0b82008-03-01 09:15:35 +000015 %tmp152.i = bitcast float 0.000000e+00 to i32 ; <i32> [#uses=1]
Dan Gohmanf17a25c2007-07-18 16:29:46 +000016 br label %cond_next182.i
17
18cond_next182.i: ; preds = %cond_next182.i, %cond_true52
Tanya Lattner4c4d0b82008-03-01 09:15:35 +000019 %decay.i.0 = phi i32 [ %tmp195.i.upgrd.1, %cond_next182.i ], [ %tmp152.i, %cond_true52 ] ; <i32> [#uses=1]
20 %tmp194.i53 = bitcast i32 %decay.i.0 to float ; <float> [#uses=1]
Dan Gohman7ce405e2009-06-04 22:49:04 +000021 %tmp195.i = fsub float %tmp194.i53, 8.000000e+00 ; <float> [#uses=1]
Tanya Lattner4c4d0b82008-03-01 09:15:35 +000022 %tmp195.i.upgrd.1 = bitcast float %tmp195.i to i32 ; <i32> [#uses=1]
23 br i1 false, label %cond_next182.i, label %bb418.i.preheader
Dan Gohmanf17a25c2007-07-18 16:29:46 +000024
25bb418.i.preheader: ; preds = %cond_next182.i
26 ret void
27
28bb80: ; preds = %cond_true27
29 ret void
30
31bb137: ; preds = %entry
32 ret void
33}