File: 2004-03-13-LoopExtractorCrash.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 (75 lines) | stat: -rw-r--r-- 1,740 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
; RUN: opt < %s -passes='function(loop-simplify),loop-extract'  -disable-output

define void @solve() {
entry:
	br label %loopentry.0

loopentry.0:		; preds = %endif.0, %entry
	br i1 false, label %no_exit.0, label %loopexit.0

no_exit.0:		; preds = %loopentry.0
	br i1 false, label %then.0, label %endif.0

then.0:		; preds = %no_exit.0
	br i1 false, label %shortcirc_done, label %shortcirc_next

shortcirc_next:		; preds = %then.0
	br label %shortcirc_done

shortcirc_done:		; preds = %shortcirc_next, %then.0
	br i1 false, label %then.1, label %endif.1

then.1:		; preds = %shortcirc_done
	br i1 false, label %cond_true, label %cond_false

cond_true:		; preds = %then.1
	br label %cond_continue

cond_false:		; preds = %then.1
	br label %cond_continue

cond_continue:		; preds = %cond_false, %cond_true
	br label %return

after_ret.0:		; No predecessors!
	br label %endif.1

endif.1:		; preds = %after_ret.0, %shortcirc_done
	br label %endif.0

endif.0:		; preds = %endif.1, %no_exit.0
	br label %loopentry.0

loopexit.0:		; preds = %loopentry.0
	br i1 false, label %then.2, label %endif.2

then.2:		; preds = %loopexit.0
	br i1 false, label %then.3, label %endif.3

then.3:		; preds = %then.2
	br label %return

after_ret.1:		; No predecessors!
	br label %endif.3

endif.3:		; preds = %after_ret.1, %then.2
	br label %endif.2

endif.2:		; preds = %endif.3, %loopexit.0
	br label %loopentry.1

loopentry.1:		; preds = %no_exit.1, %endif.2
	br i1 false, label %no_exit.1, label %loopexit.1

no_exit.1:		; preds = %loopentry.1
	br label %loopentry.1

loopexit.1:		; preds = %loopentry.1
	br label %return

after_ret.2:		; No predecessors!
	br label %return

return:		; preds = %after_ret.2, %loopexit.1, %then.3, %cond_continue
	ret void
}