repo.or.cz
/
llvm
/
zpu.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fixed some bugs.
[llvm/zpu.git]
/
test
/
Transforms
/
TailDup
/
2003-07-22-InfiniteLoop.ll
blob
90f49909e5c103d8994bde1de24ded395623d872
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