blob: 80c9ebf2f01779fd6698641c5a0c6e72acbe8829 [file] [log] [blame]
Dan Gohmanf2f6ce62009-09-11 18:01:28 +00001; RUN: opt < %s -indvars -disable-output
Chris Lattner5bd2db32006-12-11 00:12:07 +00002target datalayout = "e-p:32:32"
Chris Lattner5bd2db32006-12-11 00:12:07 +00003target triple = "i686-apple-darwin8"
Tanya Lattnerec9a35a2008-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* }
Chris Lattner5bd2db32006-12-11 00:12:07 +00006
Tanya Lattnerec9a35a2008-03-01 09:15:35 +00007define void @_ve_envelope_search() {
Chris Lattner5bd2db32006-12-11 00:12:07 +00008entry:
Tanya Lattnerec9a35a2008-03-01 09:15:35 +00009 br i1 false, label %cond_true27, label %bb137
Chris Lattner5bd2db32006-12-11 00:12:07 +000010
11cond_true27: ; preds = %entry
Tanya Lattnerec9a35a2008-03-01 09:15:35 +000012 br i1 false, label %cond_true52, label %bb80
Chris Lattner5bd2db32006-12-11 00:12:07 +000013
14cond_true52: ; preds = %cond_true27
Tanya Lattnerec9a35a2008-03-01 09:15:35 +000015 %tmp152.i = bitcast float 0.000000e+00 to i32 ; <i32> [#uses=1]
Chris Lattner5bd2db32006-12-11 00:12:07 +000016 br label %cond_next182.i
17
18cond_next182.i: ; preds = %cond_next182.i, %cond_true52
Tanya Lattnerec9a35a2008-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 Gohmanae3a0be2009-06-04 22:49:04 +000021 %tmp195.i = fsub float %tmp194.i53, 8.000000e+00 ; <float> [#uses=1]
Tanya Lattnerec9a35a2008-03-01 09:15:35 +000022 %tmp195.i.upgrd.1 = bitcast float %tmp195.i to i32 ; <i32> [#uses=1]
Dan Gohman00cb5b72010-02-19 18:12:07 +000023 br i1 undef, label %cond_next182.i, label %bb418.i.preheader
Chris Lattner5bd2db32006-12-11 00:12:07 +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}