crash_bullet3.ll 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. ; RUN: opt < %s -basicaa -slp-vectorizer -dce -S -mtriple=x86_64-apple-macosx10.8.0 -mcpu=corei7
  2. target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64-S128"
  3. target triple = "x86_64-apple-macosx10.8.0"
  4. %class.btVector3.23.221.463.485.507.573.595.683.727.749.815.837.991.1585.1607.1629.1651.1849.2047.2069.2091.2113 = type { [4 x float] }
  5. ; Function Attrs: ssp uwtable
  6. define void @_ZN11HullLibrary15CleanupVerticesEjPK9btVector3jRjPS0_fRS0_(%class.btVector3.23.221.463.485.507.573.595.683.727.749.815.837.991.1585.1607.1629.1651.1849.2047.2069.2091.2113* %vertices) #0 align 2 {
  7. entry:
  8. br i1 undef, label %return, label %if.end
  9. if.end: ; preds = %entry
  10. br label %for.body
  11. for.body: ; preds = %if.end22.2, %if.end
  12. br i1 undef, label %if.then17.1, label %if.end22.1
  13. for.end36: ; preds = %if.end22.2
  14. br label %for.body144
  15. for.body144: ; preds = %for.body144, %for.end36
  16. br i1 undef, label %for.end227, label %for.body144
  17. for.end227: ; preds = %for.body144
  18. br i1 undef, label %for.end271, label %for.body233
  19. for.body233: ; preds = %for.body233, %for.end227
  20. br i1 undef, label %for.body233, label %for.end271
  21. for.end271: ; preds = %for.body233, %for.end227
  22. %0 = phi float [ 0x47EFFFFFE0000000, %for.end227 ], [ undef, %for.body233 ]
  23. %1 = phi float [ 0x47EFFFFFE0000000, %for.end227 ], [ undef, %for.body233 ]
  24. %sub275 = fsub float undef, %1
  25. %sub279 = fsub float undef, %0
  26. br i1 undef, label %if.then291, label %return
  27. if.then291: ; preds = %for.end271
  28. %mul292 = fmul float %sub275, 5.000000e-01
  29. %add294 = fadd float %1, %mul292
  30. %mul295 = fmul float %sub279, 5.000000e-01
  31. %add297 = fadd float %0, %mul295
  32. br i1 undef, label %if.end332, label %if.else319
  33. if.else319: ; preds = %if.then291
  34. br i1 undef, label %if.then325, label %if.end327
  35. if.then325: ; preds = %if.else319
  36. br label %if.end327
  37. if.end327: ; preds = %if.then325, %if.else319
  38. br i1 undef, label %if.then329, label %if.end332
  39. if.then329: ; preds = %if.end327
  40. br label %if.end332
  41. if.end332: ; preds = %if.then329, %if.end327, %if.then291
  42. %dx272.1 = phi float [ %sub275, %if.then329 ], [ %sub275, %if.end327 ], [ 0x3F847AE140000000, %if.then291 ]
  43. %dy276.1 = phi float [ undef, %if.then329 ], [ undef, %if.end327 ], [ 0x3F847AE140000000, %if.then291 ]
  44. %sub334 = fsub float %add294, %dx272.1
  45. %sub338 = fsub float %add297, %dy276.1
  46. %arrayidx.i.i606 = getelementptr inbounds %class.btVector3.23.221.463.485.507.573.595.683.727.749.815.837.991.1585.1607.1629.1651.1849.2047.2069.2091.2113, %class.btVector3.23.221.463.485.507.573.595.683.727.749.815.837.991.1585.1607.1629.1651.1849.2047.2069.2091.2113* %vertices, i64 0, i32 0, i64 0
  47. store float %sub334, float* %arrayidx.i.i606, align 4
  48. %arrayidx3.i607 = getelementptr inbounds %class.btVector3.23.221.463.485.507.573.595.683.727.749.815.837.991.1585.1607.1629.1651.1849.2047.2069.2091.2113, %class.btVector3.23.221.463.485.507.573.595.683.727.749.815.837.991.1585.1607.1629.1651.1849.2047.2069.2091.2113* %vertices, i64 0, i32 0, i64 1
  49. store float %sub338, float* %arrayidx3.i607, align 4
  50. br label %return
  51. return: ; preds = %if.end332, %for.end271, %entry
  52. ret void
  53. if.then17.1: ; preds = %for.body
  54. br label %if.end22.1
  55. if.end22.1: ; preds = %if.then17.1, %for.body
  56. br i1 undef, label %if.then17.2, label %if.end22.2
  57. if.then17.2: ; preds = %if.end22.1
  58. br label %if.end22.2
  59. if.end22.2: ; preds = %if.then17.2, %if.end22.1
  60. br i1 undef, label %for.end36, label %for.body
  61. }
  62. attributes #0 = { ssp uwtable "less-precise-fpmad"="false" "no-frame-pointer-elim"="false" "no-frame-pointer-elim-non-leaf"="false" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "unsafe-fp-math"="false" "use-soft-float"="false" }