mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-31 16:02:52 +01:00
f2c290dfa6
llvm-svn: 81545
11 lines
207 B
LLVM
11 lines
207 B
LLVM
; RUN: llc < %s -mtriple=x86_64-pc-linux -relocation-model=pic -o %t1
|
|
; RUN: grep {leaq f(%rip),} %t1
|
|
; RUN: not grep GOTPCREL %t1
|
|
|
|
define void ()* @g() {
|
|
entry:
|
|
ret void ()* @f
|
|
}
|
|
|
|
declare hidden void @f()
|