2006-12-10-BitCast.ll 1.2 KB

123456789101112131415161718192021222324252627282930313233
  1. ; RUN: opt < %s -indvars -disable-output
  2. target datalayout = "e-p:32:32"
  3. target triple = "i686-apple-darwin8"
  4. %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* }
  6. define void @_ve_envelope_search() {
  7. entry:
  8. br i1 false, label %cond_true27, label %bb137
  9. cond_true27: ; preds = %entry
  10. br i1 false, label %cond_true52, label %bb80
  11. cond_true52: ; preds = %cond_true27
  12. %tmp152.i = bitcast float 0.000000e+00 to i32 ; <i32> [#uses=1]
  13. br label %cond_next182.i
  14. cond_next182.i: ; preds = %cond_next182.i, %cond_true52
  15. %decay.i.0 = phi i32 [ %tmp195.i.upgrd.1, %cond_next182.i ], [ %tmp152.i, %cond_true52 ] ; <i32> [#uses=1]
  16. %tmp194.i53 = bitcast i32 %decay.i.0 to float ; <float> [#uses=1]
  17. %tmp195.i = fsub float %tmp194.i53, 8.000000e+00 ; <float> [#uses=1]
  18. %tmp195.i.upgrd.1 = bitcast float %tmp195.i to i32 ; <i32> [#uses=1]
  19. br i1 undef, label %cond_next182.i, label %bb418.i.preheader
  20. bb418.i.preheader: ; preds = %cond_next182.i
  21. ret void
  22. bb80: ; preds = %cond_true27
  23. ret void
  24. bb137: ; preds = %entry
  25. ret void
  26. }