projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Relax unsafe use check. If there is one unconditional use inside the loop then it...
[oota-llvm.git]
/
test
/
Transforms
/
GlobalOpt
/
storepointer.llx
1
; RUN: llvm-upgrade < %s | llvm-as | opt -globalopt | llvm-dis | not grep global
2
3
%G = internal global void ()* null
4
5
implementation
6
7
internal void %Actual() {
8
ret void
9
}
10
11
void %init() {
12
store void()* %Actual, void()** %G
13
ret void
14
}
15
16
void %doit() {
17
%FP = load void()** %G
18
call void %FP()
19
ret void
20
}