opnsense-src/test/CodeGen/ARM/thread_pointer.ll

13 lines
230 B
LLVM
Raw Normal View History

; RUN: llc -mtriple arm-linux-gnueabi -filetype asm -o - %s | FileCheck %s
declare i8* @llvm.thread.pointer()
2009-06-02 13:52:33 -04:00
define i8* @test() {
entry:
%tmp1 = call i8* @llvm.thread.pointer()
ret i8* %tmp1
2009-06-02 13:52:33 -04:00
}
; CHECK: bl __aeabi_read_tp