]> granicus.if.org Git - llvm/commit
AArch64: support TLS on Darwin platforms in GlobalISel.
authorTim Northover <tnorthover@apple.com>
Fri, 9 Aug 2019 09:32:38 +0000 (09:32 +0000)
committerTim Northover <tnorthover@apple.com>
Fri, 9 Aug 2019 09:32:38 +0000 (09:32 +0000)
commit60543901f8d64c3a9faea128ee47ac9dfdf9451f
treeccd1a6f4382d0fde356aef9cc215d6baed8f3631
parentb1763b5a211690328b4475ef2f235564e1f6a5f3
AArch64: support TLS on Darwin platforms in GlobalISel.

All TLS access on Darwin is in the "general dynamic" form where we call
a function to resolve the address, so implementation is pretty simple.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@368418 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AArch64/AArch64InstructionSelector.cpp
test/CodeGen/AArch64/arm64-tls-darwin.ll