bolt/deps/llvm-18.1.8/llvm/test/CodeGen/X86/x86-64-pic-3.ll

18 lines
263 B
LLVM
Raw Normal View History

2025-02-14 19:21:04 +01:00
; 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
}