projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Fix test.
[oota-llvm.git]
/
test
/
Transforms
/
TailDup
/
2003-07-22-InfiniteLoop.ll
1
; RUN: opt < %s -tailduplicate -disable-output
2
3
define i32 @sum() {
4
entry:
5
br label %loopentry
6
loopentry: ; preds = %loopentry, %entry
7
%i.0 = phi i32 [ 1, %entry ], [ %tmp.3, %loopentry ] ; <i32> [#uses=1]
8
%tmp.3 = add i32 %i.0, 1 ; <i32> [#uses=1]
9
br label %loopentry
10
}
11