llvm.org GIT mirror llvm / ee7e286
new testcase git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12873 91177308-0d34-0410-b5e6-96231b3b80d8 Chris Lattner 15 years ago
1 changed file(s) with 22 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
0 ; RUN: llvm-as < %s | opt -loopsimplify -disable-output
1
2 implementation
3
4 void %test() {
5 loopentry.0:
6 br label %loopentry.1
7
8 loopentry.1:
9 %pixel.4 = phi int [ 0, %loopentry.0 ], [ %pixel.4, %loopentry.1], [ %tmp.370, %then.6 ], [ %tmp.370, %then.6 ]
10 br bool false, label %then.6, label %loopentry.1
11
12 then.6:
13 %tmp.370 = add int 0, 0 ; [#uses=2]
14 switch uint 0, label %label.7 [
15 uint 6408, label %loopentry.1
16 uint 32841, label %loopentry.1
17 ]
18
19 label.7: ; preds = %then.6
20 ret void
21 }