repo.or.cz
/
llvm
/
stm8.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fold assert-only-used variable into the assert.
[llvm/stm8.git]
/
test
/
Transforms
/
GlobalOpt
/
2009-03-06-Anonymous.ll
blob
62f75e123be7dd27b081cc2513f99c066c80b5ee
1
; RUN: opt < %s -globalopt -S | 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
}