llvm.org GIT mirror llvm / 2edda52 test / CodeGen / ARM / thread_pointer.ll
2edda52

Tree @2edda52 (Download .tar.gz)

thread_pointer.ll @2edda52raw · history · blame

; 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