xref: /aosp_15_r20/external/llvm/test/CodeGen/ARM/thread_pointer.ll (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1*9880d681SAndroid Build Coastguard Worker; RUN: llc < %s -march=arm -mtriple=arm-linux-gnueabi | \
2*9880d681SAndroid Build Coastguard Worker; RUN:     grep "__aeabi_read_tp"
3*9880d681SAndroid Build Coastguard Worker
4*9880d681SAndroid Build Coastguard Workerdefine i8* @test() {
5*9880d681SAndroid Build Coastguard Workerentry:
6*9880d681SAndroid Build Coastguard Worker	%tmp1 = call i8* @llvm.thread.pointer( )		; <i8*> [#uses=0]
7*9880d681SAndroid Build Coastguard Worker	ret i8* %tmp1
8*9880d681SAndroid Build Coastguard Worker}
9*9880d681SAndroid Build Coastguard Worker
10*9880d681SAndroid Build Coastguard Workerdeclare i8* @llvm.thread.pointer()
11