File: misched.ll

package info (click to toggle)
llvm-toolchain-16 1%3A16.0.6-15~deb12u1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 1,634,792 kB
  • sloc: cpp: 6,179,261; ansic: 1,216,205; asm: 741,319; python: 196,614; objc: 75,325; f90: 49,640; lisp: 32,396; pascal: 12,286; sh: 9,394; perl: 7,442; ml: 5,494; awk: 3,523; makefile: 2,723; javascript: 1,206; xml: 886; fortran: 581; cs: 573
file content (44 lines) | stat: -rw-r--r-- 1,827 bytes parent folder | download | duplicates (12)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
; RUN: llc < %s -enable-misched -verify-machineinstrs
; PR14302
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"

@b = external global [16000 x double], align 32

define void @pr14302() nounwind {
entry:
  tail call void @putchar() nounwind
  br label %for.body

for.body:                                         ; preds = %for.body, %entry
  br i1 undef, label %for.body, label %for.body24.i

for.body24.i:                                     ; preds = %for.body24.i, %for.body
  store double 1.000000e+00, ptr undef, align 8
  br i1 undef, label %for.body24.i58, label %for.body24.i

for.body24.i58:                                   ; preds = %for.body24.i58, %for.body24.i
  %arrayidx26.i55.1 = getelementptr inbounds [16000 x double], ptr @b, i64 0, i64 undef
  store double 1.000000e+00, ptr %arrayidx26.i55.1, align 8
  br i1 undef, label %for.body24.i64, label %for.body24.i58

for.body24.i64:                                   ; preds = %for.body24.i64, %for.body24.i58
  %exitcond.2489 = icmp eq i32 0, 16000
  br i1 %exitcond.2489, label %for.body24.i70, label %for.body24.i64

for.body24.i70:                                   ; preds = %for.body24.i70, %for.body24.i64
  br i1 undef, label %for.body24.i76, label %for.body24.i70

for.body24.i76:                                   ; preds = %for.body24.i76, %for.body24.i70
  br i1 undef, label %set1d.exit77, label %for.body24.i76

set1d.exit77:                                     ; preds = %for.body24.i76
  br label %for.body29

for.body29:                                       ; preds = %for.body29, %set1d.exit77
  br i1 undef, label %for.end35, label %for.body29

for.end35:                                        ; preds = %for.body29
  ret void
}

declare void @putchar()