repo.or.cz
/
llvm
/
msp430.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge branch 'master' into msp430
[llvm/msp430.git]
/
test
/
Transforms
/
GlobalOpt
/
2009-03-06-Anonymous.ll
blob
ea13d293d5fa3c676d61635d30a2d1eda02819c5
1
; RUN: llvm-as < %s | opt -globalopt | llvm-dis | grep internal | count 2
2
3
global i32 0
4
define i32* @1() {
5
ret i32* @0
6
}
7
define i32* @f() {
8
entry:
9
call i32* @1()
10
ret i32* %0
11
}