xref: /aosp_15_r20/external/llvm/test/CodeGen/X86/x86-64-pic-3.ll (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1*9880d681SAndroid Build Coastguard Worker; RUN: llc < %s -mtriple=x86_64-pc-linux -relocation-model=pic | FileCheck %s
2*9880d681SAndroid Build Coastguard Worker
3*9880d681SAndroid Build Coastguard Worker
4*9880d681SAndroid Build Coastguard Worker; CHECK-NOT: {{callq	f@PLT}}
5*9880d681SAndroid Build Coastguard Worker; CHECK: {{callq	f}}
6*9880d681SAndroid Build Coastguard Worker; CHECK-NOT: {{callq	f@PLT}}
7*9880d681SAndroid Build Coastguard Worker
8*9880d681SAndroid Build Coastguard Workerdefine void @g() {
9*9880d681SAndroid Build Coastguard Workerentry:
10*9880d681SAndroid Build Coastguard Worker	call void @f( )
11*9880d681SAndroid Build Coastguard Worker	ret void
12*9880d681SAndroid Build Coastguard Worker}
13*9880d681SAndroid Build Coastguard Worker
14*9880d681SAndroid Build Coastguard Workerdefine internal void @f() {
15*9880d681SAndroid Build Coastguard Workerentry:
16*9880d681SAndroid Build Coastguard Worker	ret void
17*9880d681SAndroid Build Coastguard Worker}
18