summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/X86/x86-64-pic-9.ll
blob: 1f461bf443ac4416491936428c7cdbc86317511d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
; RUN: llc < %s -mtriple=x86_64-pc-linux -relocation-model=pic | FileCheck %s

define void ()* @g() nounwind {
; CHECK-LABEL: g:
; CHECK:       # %bb.0: # %entry
; CHECK-NEXT:    leaq {{.*}}(%rip), %rax
; CHECK-NEXT:    retq
entry:
	ret void ()* @f
}

define internal void @f() nounwind {
; CHECK-LABEL: f:
; CHECK:       # %bb.0: # %entry
; CHECK-NEXT:    retq
entry:
	ret void
}
OpenPOWER on IntegriCloud