xref: /aosp_15_r20/external/llvm/test/CodeGen/X86/x86-64-pic-2.ll (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1*9880d681SAndroid Build Coastguard Worker; RUN: llc < %s -mtriple=x86_64-pc-linux -relocation-model=pic -o %t1
2*9880d681SAndroid Build Coastguard Worker; RUN: grep "callq	f" %t1
3*9880d681SAndroid Build Coastguard Worker; RUN: not grep "callq	f@PLT" %t1
4*9880d681SAndroid Build Coastguard Worker
5*9880d681SAndroid Build Coastguard Workerdefine void @g() {
6*9880d681SAndroid Build Coastguard Workerentry:
7*9880d681SAndroid Build Coastguard Worker	call void @f( )
8*9880d681SAndroid Build Coastguard Worker	ret void
9*9880d681SAndroid Build Coastguard Worker}
10*9880d681SAndroid Build Coastguard Worker
11*9880d681SAndroid Build Coastguard Workerdeclare hidden void @f()
12