projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
new testcase
[oota-llvm.git]
/
test
/
Transforms
/
TailDup
/
2003-08-31-UnreachableBlocks.ll
1
; RUN: llvm-as < %s | opt -tailduplicate -disable-output
2
3
int %foo() {
4
entry:
5
br label %return.i
6
7
after_ret.i:
8
br label %return.i
9
10
return.i:
11
%tmp.3 = cast int* null to int
12
br label %return.i1
13
14
after_ret.i1:
15
br label %return.i1
16
17
return.i1:
18
%tmp.8 = sub int %tmp.3, 0
19
ret int 0
20
}