mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 18:54:02 +01:00
7e0cfdf745
We were assuming that only linkonce_odr GVs were lazy linked. llvm-svn: 266995
12 lines
183 B
LLVM
12 lines
183 B
LLVM
; RUN: llvm-link -S -only-needed %s %p/Inputs/only-needed-recurse.ll | FileCheck %s
|
|
|
|
declare void @f2()
|
|
|
|
define void @f1() {
|
|
call void @f2()
|
|
ret void
|
|
}
|
|
|
|
; CHECK: define void @f3
|
|
|