aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/x86-64-pic-3.ll
blob: 1b0ddc6fe5ad45cfe9ec229ca1452245ac1611ef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
; RUN: llc < %s -mtriple=x86_64-pc-linux -relocation-model=pic | FileCheck %s


; CHECK-NOT: {{callq	f@PLT}}
; CHECK: {{callq	f}}
; CHECK-NOT: {{callq	f@PLT}}

define void @g() {
entry:
	call void @f( )
	ret void
}

define internal void @f() {
entry:
	ret void
}