[PATCH] D18332: [ELF/AArch64] Add GD to IE TLS relax optimization

Adhemerval Zanella via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 21 14:18:24 PDT 2016


zatrazz created this revision.
zatrazz added reviewers: ruiu, rafael.
zatrazz added subscribers: emaste, grimar, rengolin, llvm-commits.
zatrazz set the repository for this revision to rL LLVM.
zatrazz added a project: lld.
Herald added a subscriber: aemerson.

This patch add the TLS Global-Dynamic to Initial-Exec TLS optimization
for AArch64.  Similar of GD to LE, the idea is to optimize TLS access
to global symbols that can preempted by emitting a GOT entry and
a dynamic relocation (R_AARCH64_TLS_TPREL64).

This patch is based upon http://reviews.llvm.org/D18331

Repository:
  rL LLVM

http://reviews.llvm.org/D18332

Files:
  ELF/Target.cpp
  test/ELF/Inputs/aarch64-tls-ie.s
  test/ELF/aarch64-tls-gdie.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D18332.51228.patch
Type: text/x-patch
Size: 4511 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160321/6d552f68/attachment.bin>


More information about the llvm-commits mailing list