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
/
GlobalOpt
/
basictest.ll
blob
4332d3dd38c275dd30ec98cf37681d17d5b4d471
1
; RUN: opt < %s -globalopt -S | not grep global
2
3
@X = internal global i32 4 ; <i32*> [#uses=1]
4
5
define i32 @foo() {
6
%V = load i32* @X ; <i32> [#uses=1]
7
ret i32 %V
8
}
9