• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; RUN: opt < %s -basicaa -slp-vectorizer -dce -S -mtriple=x86_64-apple-macosx10.8.0 -mcpu=corei7
2
3target 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"
4target triple = "x86_64-apple-macosx10.8.0"
5
6; Function Attrs: nounwind ssp uwtable
7define void @main() #0 {
8entry:
9  br i1 undef, label %while.body, label %while.end
10
11while.body:                                       ; preds = %entry
12  unreachable
13
14while.end:                                        ; preds = %entry
15  br i1 undef, label %for.end80, label %for.body75.lr.ph
16
17for.body75.lr.ph:                                 ; preds = %while.end
18  br label %for.body75
19
20for.body75:                                       ; preds = %for.body75, %for.body75.lr.ph
21  br label %for.body75
22
23for.end80:                                        ; preds = %while.end
24  br i1 undef, label %for.end300, label %for.body267.lr.ph
25
26for.body267.lr.ph:                                ; preds = %for.end80
27  br label %for.body267
28
29for.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
42for.end300:                                       ; preds = %for.body267, %for.end80
43  unreachable
44}
45
46attributes #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" }
47