[PATCH] D120000: [1/2] TLS loads opimization (hoist)

Xiang Zhang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Feb 27 17:38:32 PST 2022


xiangzhangllvm added a comment.

In D120000#3348110 <https://reviews.llvm.org/D120000#3348110>, @MaskRay wrote:

> Do you have a plan to implement `clang -mtls-dialect=gnu2`? I have had such a plan for a long time but always have more prioritized work to do...
> ld.lld has great TLSDESC support since D116900 <https://reviews.llvm.org/D116900>. If we can add support and let GCC/Clang default to TLS descriptors, there is just no need adding more code dealing with these traditional (legacy) TLS models.

PLS let me take a look on **createCleanupLocalDynamicTLSPass**, I never read it before.
Could you give me more information about implement `clang -mtls-dialect=gnu2`?  I am happy to do that, PLS let me try. (If my manager not transfer me urgent jobs)


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D120000/new/

https://reviews.llvm.org/D120000



More information about the llvm-commits mailing list