1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 10:42:39 +01:00

Add a test showing that we internalize lazily linked GVs.

llvm-svn: 254989
This commit is contained in:
Rafael Espindola 2015-12-08 02:38:14 +00:00
parent 6df517bf63
commit 7e77ee21fb
2 changed files with 12 additions and 0 deletions

View File

@ -0,0 +1,8 @@
define linkonce_odr void @g() {
ret void
}
define void @f() {
call void @g()
ret void
}

View File

@ -0,0 +1,4 @@
; RUN: llvm-link -S -internalize %s %p/Inputs/internalize-lazy.ll | FileCheck %s
; CHECK: define internal void @f
; CHECK: define internal void @g