Fix several accidental DOS line endings in source files
[oota-llvm.git] / test / Transforms / SLPVectorizer / X86 / crash_flop7.ll
1 ; RUN: opt < %s -basicaa -slp-vectorizer -dce -S -mtriple=x86_64-apple-macosx10.8.0 -mcpu=corei7
2
3 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"
4 target triple = "x86_64-apple-macosx10.8.0"
5
6 ; Function Attrs: nounwind ssp uwtable
7 define void @main() #0 {
8 entry:
9   br i1 undef, label %while.body, label %while.end
10
11 while.body:                                       ; preds = %entry
12   unreachable
13
14 while.end:                                        ; preds = %entry
15   br i1 undef, label %for.end80, label %for.body75.lr.ph
16
17 for.body75.lr.ph:                                 ; preds = %while.end
18   br label %for.body75
19
20 for.body75:                                       ; preds = %for.body75, %for.body75.lr.ph
21   br label %for.body75
22
23 for.end80:                                        ; preds = %while.end
24   br i1 undef, label %for.end300, label %for.body267.lr.ph
25
26 for.body267.lr.ph:                                ; preds = %for.end80
27   br label %for.body267
28
29 for.body267:                                      ; preds = %for.body267, %for.body267.lr.ph
30   %s.71010 = phi double [ 0.000000e+00, %for.body267.lr.ph ], [ %add297, %for.body267 ]
31   %mul269 = fmul double undef, undef
32   %mul270 = fmul double %mul269, %mul269
33   %add282 = fadd double undef, undef
34   %mul283 = fmul double %mul269, %add282
35   %add293 = fadd double undef, undef
36   %mul294 = fmul double %mul270, %add293
37   %add295 = fadd double undef, %mul294
38   %div296 = fdiv double %mul283, %add295
39   %add297 = fadd double %s.71010, %div296
40   br i1 undef, label %for.body267, label %for.end300
41
42 for.end300:                                       ; preds = %for.body267, %for.end80
43   unreachable
44 }
45
46 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" }