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
/
storepointer.ll
blob
8019076f9463e3ba31cd0f9f1049d2fc37bac7cf
1
; RUN: opt < %s -globalopt -S | not grep global
2
3
@G = internal global void ()* null ; <void ()**> [#uses=2]
4
5
define internal void @Actual() {
6
ret void
7
}
8
9
define void @init() {
10
store void ()* @Actual, void ()** @G
11
ret void
12
}
13
14
define void @doit() {
15
%FP = load void ()** @G ; <void ()*> [#uses=1]
16
call void %FP( )
17
ret void
18
}
19