xref: /llvm-project/llvm/test/CodeGen/X86/fast-isel-noplt-pic.ll (revision 05e285bcc5a0a4c387d8b311d8a0426cccfa5273)
1; RUN: llc -mtriple x86_64-unknown-linux-gnu -O0 -fast-isel=true -relocation-model=pic -filetype asm -o - %s | FileCheck %s
2
3declare void @f() local_unnamed_addr #0
4
5define void @g() local_unnamed_addr {
6entry:
7  call void @f()
8  ret void
9}
10
11attributes #0 = { nonlazybind }
12
13; CHECK-LABEL: g:
14; CHECK-LABEL: callq *f@GOTPCREL(%rip)
15; CHECK-LABEL: retq
16
17