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
/
Inline
/
2007-06-25-WeakInline.ll
blob
3cf758ca8c8e95d6de65c25ed6172b6f4ee9e233
1
; RUN: llvm-as < %s | opt -inline | llvm-dis | grep call
2
3
; 'bar' can be overridden at link-time, don't inline it.
4
5
define void @foo() {
6
entry:
7
tail call void @bar( ) ; <i32> [#uses=0]
8
ret void
9
}
10
11
define weak void @bar() {
12
ret void
13
}
14