mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 11:42:57 +01:00
0e4a85056d
llvm-svn: 37722
15 lines
270 B
LLVM
15 lines
270 B
LLVM
; RUN: llvm-as < %s | opt -inline | llvm-dis | grep call
|
|
|
|
; 'bar' can be overridden at link-time, don't inline it.
|
|
|
|
define void @foo() {
|
|
entry:
|
|
tail call void @bar( ) ; <i32> [#uses=0]
|
|
ret void
|
|
}
|
|
|
|
define weak void @bar() {
|
|
ret void
|
|
}
|
|
|