[PATCH] D15000: [ELF] - Implemented @tlsgd optimization (GD->IE case).
George Rimar via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 25 15:15:43 PST 2015
grimar created this revision.
grimar added reviewers: ruiu, rafael.
grimar added subscribers: llvm-commits, grimar.
"Ulrich Drepper, ELF Handling For Thread-Local Storage" (5.5 x86-x64 linker optimizations, http://www.akkadia.org/drepper/tls.pdf) shows how GD can be optimized to IE.
This patch implements this optimization.
http://reviews.llvm.org/D15000
Files:
ELF/InputSection.cpp
ELF/OutputSections.cpp
ELF/Target.cpp
ELF/Target.h
ELF/Writer.cpp
test/ELF/Inputs/tls-opt-gdie.s
test/ELF/tls-opt-gdie.s
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D15000.41192.patch
Type: text/x-patch
Size: 11816 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151125/05a4050e/attachment.bin>
More information about the llvm-commits
mailing list