llvm.org GIT mirror llvm / d0d09e6
Testcase reduced by bugpoint git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6880 91177308-0d34-0410-b5e6-96231b3b80d8 Chris Lattner 16 years ago
1 changed file(s) with 18 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
0 ; RUN: as < %s | opt -tailduplicate -disable-output
1
2 void %motion_result7() {
3 entry:
4 br label %endif
5
6 endif:
7 %i.1 = phi int [ %inc, %no_exit ], [ 0, %entry ]
8 %inc = add int %i.1, 1
9 br bool false, label %no_exit, label %UnifiedExitNode
10
11 no_exit:
12 br bool false, label %UnifiedExitNode, label %endif
13
14 UnifiedExitNode:
15 ret void
16 }
17