]> granicus.if.org Git - llvm/commit
Implement __builtin_thread_pointer
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>
Tue, 28 Jul 2015 13:03:31 +0000 (13:03 +0000)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Tue, 28 Jul 2015 13:03:31 +0000 (13:03 +0000)
commitfb3d3bb9631f6aff31e9bc94c01e8fa53d477e8c
treef31072cb4f63de5f347097a2af47aa090c785561
parentce1116eeb8c26f6009aab6e31131b8fe86f29004
Implement __builtin_thread_pointer

This path add the aarch64 lowering of __builtin_thread_pointer.  It uses
the already implemented AArch64ISD::THREAD_POINTER used in TLS generation.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@243412 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/IR/IntrinsicsAArch64.td
lib/Target/AArch64/AArch64ISelLowering.cpp
lib/Target/AArch64/AArch64ISelLowering.h
test/CodeGen/AArch64/arm64-builtins-linux.ll [new file with mode: 0644]