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