llvm.org GIT mirror llvm / 84991f3
New testcase git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8275 91177308-0d34-0410-b5e6-96231b3b80d8 Chris Lattner 16 years ago
1 changed file(s) with 20 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
0 ; RUN: llvm-as < %s | opt -tailduplicate -disable-output
1
2 int %foo() {
3 entry:
4 br label %return.i
5
6 after_ret.i:
7 br label %return.i
8
9 return.i:
10 %tmp.3 = cast int* null to int
11 br label %return.i1
12
13 after_ret.i1:
14 br label %return.i1
15
16 return.i1:
17 %tmp.8 = sub int %tmp.3, 0
18 ret int 0
19 }