• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; RUN: llc < %s -enable-misched -verify-machineinstrs
2; PR14302
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-f128:128:128-v128:128:128-n32:64"
4target triple = "powerpc64-bgq-linux"
5
6@b = external global [16000 x double], align 32
7
8define void @pr14302() nounwind {
9entry:
10  tail call void @putchar() nounwind
11  br label %for.body
12
13for.body:                                         ; preds = %for.body, %entry
14  br i1 undef, label %for.body, label %for.body24.i
15
16for.body24.i:                                     ; preds = %for.body24.i, %for.body
17  store double 1.000000e+00, double* undef, align 8
18  br i1 undef, label %for.body24.i58, label %for.body24.i
19
20for.body24.i58:                                   ; preds = %for.body24.i58, %for.body24.i
21  %arrayidx26.i55.1 = getelementptr inbounds [16000 x double], [16000 x double]* @b, i64 0, i64 undef
22  store double 1.000000e+00, double* %arrayidx26.i55.1, align 8
23  br i1 undef, label %for.body24.i64, label %for.body24.i58
24
25for.body24.i64:                                   ; preds = %for.body24.i64, %for.body24.i58
26  %exitcond.2489 = icmp eq i32 0, 16000
27  br i1 %exitcond.2489, label %for.body24.i70, label %for.body24.i64
28
29for.body24.i70:                                   ; preds = %for.body24.i70, %for.body24.i64
30  br i1 undef, label %for.body24.i76, label %for.body24.i70
31
32for.body24.i76:                                   ; preds = %for.body24.i76, %for.body24.i70
33  br i1 undef, label %set1d.exit77, label %for.body24.i76
34
35set1d.exit77:                                     ; preds = %for.body24.i76
36  br label %for.body29
37
38for.body29:                                       ; preds = %for.body29, %set1d.exit77
39  br i1 undef, label %for.end35, label %for.body29
40
41for.end35:                                        ; preds = %for.body29
42  ret void
43}
44
45declare void @putchar()
46