projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
new testcase
[oota-llvm.git]
/
test
/
Transforms
/
GlobalOpt
/
iterate.llx
1
; RUN: llvm-as < %s | opt -globalopt | llvm-dis | not grep %G
2
3
%G = internal global int 0
4
%H = internal global { int* } { int* %G }
5
6
int %loadg() {
7
%G = load int** getelementptr ({int*}* %H, int 0, uint 0)
8
%GV = load int* %G
9
ret int %GV
10
}