• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; RUN: opt < %s -analyze -delinearize
2target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
3target triple = "x86_64-unknown-linux-gnu"
4
5define void @foo(double* %Ey) {
6entry:
7  br i1 undef, label %for.cond55.preheader, label %for.end324
8
9for.cond55.preheader:
10  %iz.069 = phi i64 [ %inc323, %for.inc322 ], [ 0, %entry ]
11  br i1 undef, label %for.cond58.preheader, label %for.inc322
12
13for.cond58.preheader:
14  %iy.067 = phi i64 [ %inc320, %for.end ], [ 0, %for.cond55.preheader ]
15  br i1 undef, label %for.body60, label %for.end
16
17for.body60:
18  %ix.062 = phi i64 [ %inc, %for.body60 ], [ 0, %for.cond58.preheader ]
19  %0 = mul i64 %iz.069, undef
20  %tmp5 = add i64 %iy.067, %0
21  %tmp6 = mul i64 %tmp5, undef
22  %arrayidx69.sum = add i64 undef, %tmp6
23  %arrayidx70 = getelementptr inbounds double, double* %Ey, i64 %arrayidx69.sum
24  %1 = load double, double* %arrayidx70, align 8
25  %inc = add nsw i64 %ix.062, 1
26  br i1 false, label %for.body60, label %for.end
27
28for.end:
29  %inc320 = add nsw i64 %iy.067, 1
30  br i1 undef, label %for.cond58.preheader, label %for.inc322
31
32for.inc322:
33  %inc323 = add nsw i64 %iz.069, 1
34  br i1 undef, label %for.cond55.preheader, label %for.end324
35
36for.end324:
37  ret void
38}
39