File: 2004-04-07-ScalarEvolutionCrash.ll

package info (click to toggle)
llvm-toolchain-3.9 1%3A3.9.1-8
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 441,060 kB
  • ctags: 428,777
  • sloc: cpp: 2,546,577; ansic: 538,318; asm: 119,677; objc: 103,316; python: 102,148; sh: 27,847; pascal: 5,626; ml: 5,510; perl: 5,293; lisp: 4,801; makefile: 2,177; xml: 686; cs: 362; php: 212; 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
}