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)
commit7bc3319d84644ab5814282fc164a66bd4239fbc5
tree1d5e4672114640d6a8c68c019fc0573817b16234
parent9696a3f903fe5f18398b02cc14d209b0dfb66612
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.

llvm-svn: 243412
llvm/include/llvm/IR/IntrinsicsAArch64.td
llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
llvm/lib/Target/AArch64/AArch64ISelLowering.h
llvm/test/CodeGen/AArch64/arm64-builtins-linux.ll [new file with mode: 0644]