crash_flop7.ll 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  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. ; Function Attrs: nounwind ssp uwtable
  5. define void @main() #0 {
  6. entry:
  7. br i1 undef, label %while.body, label %while.end
  8. while.body: ; preds = %entry
  9. unreachable
  10. while.end: ; preds = %entry
  11. br i1 undef, label %for.end80, label %for.body75.lr.ph
  12. for.body75.lr.ph: ; preds = %while.end
  13. br label %for.body75
  14. for.body75: ; preds = %for.body75, %for.body75.lr.ph
  15. br label %for.body75
  16. for.end80: ; preds = %while.end
  17. br i1 undef, label %for.end300, label %for.body267.lr.ph
  18. for.body267.lr.ph: ; preds = %for.end80
  19. br label %for.body267
  20. for.body267: ; preds = %for.body267, %for.body267.lr.ph
  21. %s.71010 = phi double [ 0.000000e+00, %for.body267.lr.ph ], [ %add297, %for.body267 ]
  22. %mul269 = fmul double undef, undef
  23. %mul270 = fmul double %mul269, %mul269
  24. %add282 = fadd double undef, undef
  25. %mul283 = fmul double %mul269, %add282
  26. %add293 = fadd double undef, undef
  27. %mul294 = fmul double %mul270, %add293
  28. %add295 = fadd double undef, %mul294
  29. %div296 = fdiv double %mul283, %add295
  30. %add297 = fadd double %s.71010, %div296
  31. br i1 undef, label %for.body267, label %for.end300
  32. for.end300: ; preds = %for.body267, %for.end80
  33. unreachable
  34. }
  35. attributes #0 = { nounwind 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" }