repo.or.cz
/
llvm.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
When removing a function from the function set and adding it to deferred, we
[llvm.git]
/
test
/
Transforms
/
IndVarSimplify
/
2003-12-21-IndVarSize.ll
blob
0fc9c8547d9d33993d1c8d33f188692c011d954c
1
; RUN: opt < %s -indvars -S | grep indvar | not grep i32
2
3
@G = global i64 0 ; <i64*> [#uses=1]
4
5
define void @test() {
6
; <label>:0
7
br label %Loop
8
9
Loop: ; preds = %Loop, %0
10
%X = phi i64 [ 1, %0 ], [ %X.next, %Loop ] ; <i64> [#uses=2]
11
%X.next = add i64 %X, 1 ; <i64> [#uses=1]
12
store i64 %X, i64* @G
13
br label %Loop
14
}
15