File: 2004-04-07-ScalarEvolutionCrash.ll

package info (click to toggle)
llvm-toolchain-3.7 1%3A3.7.1-5
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 345,556 kB
  • ctags: 362,199
  • sloc: cpp: 2,156,381; ansic: 458,339; objc: 91,547; python: 89,988; asm: 86,305; sh: 21,479; makefile: 6,853; perl: 5,601; ml: 5,458; pascal: 3,933; lisp: 2,429; xml: 686; cs: 239; php: 202; csh: 117
file content (27 lines) | stat: -rw-r--r-- 821 bytes parent folder | download | duplicates (28)
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
; RUN: opt < %s -indvars -disable-output

define void @.outPlank_21() {
entry:
        br i1 false, label %loopexit.0, label %no_exit.0

no_exit.0:              ; preds = %entry
        ret void

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

no_exit.1:              ; preds = %loopexit.2, %loopexit.0
        %i.0.0 = phi i32 [ %inc, %loopexit.2 ], [ 0, %loopexit.0 ]              ; <i32> [#uses=1]
        br i1 false, label %loopexit.2, label %no_exit.2

no_exit.2:              ; preds = %no_exit.1
        ret void

loopexit.2:             ; preds = %no_exit.1
        %inc = add i32 %i.0.0, 1                ; <i32> [#uses=1]
        br i1 false, label %no_exit.1, label %loopexit.1

loopexit.1:             ; preds = %loopexit.2, %loopexit.0
        ret void
}