repo.or.cz
/
llvm
/
msp430.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge branch 'master' into msp430
[llvm/msp430.git]
/
test
/
Transforms
/
TailDup
/
2003-07-22-InfiniteLoop.ll
blob
705f8bcdd652cb6d4053f0019e56293082421f3a
1
; RUN: llvm-as < %s | opt -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