279aa8f685
Former-commit-id: 0c7ce5b1a7851e13f22acfd379b7f9fb304e4833
13 lines
230 B
LLVM
13 lines
230 B
LLVM
; RUN: llc -mtriple arm-linux-gnueabi -filetype asm -o - %s | FileCheck %s
|
|
|
|
declare i8* @llvm.thread.pointer()
|
|
|
|
define i8* @test() {
|
|
entry:
|
|
%tmp1 = call i8* @llvm.thread.pointer()
|
|
ret i8* %tmp1
|
|
}
|
|
|
|
; CHECK: bl __aeabi_read_tp
|
|
|