Xamarin Public Jenkins (auto-signing) 64ac736ec5 Imported Upstream version 6.0.0.172
Former-commit-id: f3cc9b82f3e5bd8f0fd3ebc098f789556b44e9cd
2019-04-12 14:10:50 +00:00

17 lines
353 B
LLVM

; RUN: llc -mtriple x86_64-unknown-linux-gnu -O0 -fast-isel=true -relocation-model=pic -filetype asm -o - %s | FileCheck %s
declare void @f() local_unnamed_addr #0
define void @g() local_unnamed_addr {
entry:
call void @f()
ret void
}
attributes #0 = { nonlazybind }
; CHECK-LABEL: g:
; CHECK-LABEL: callq *f@GOTPCREL(%rip)
; CHECK-LABEL: retq