[PATCH] D141183: [LoongArch] Add support for emulated TLS model

wanglei via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 10 21:18:13 PST 2023


wangleiat added a comment.

In D141183#4042149 <https://reviews.llvm.org/D141183#4042149>, @MaskRay wrote:

> Emulated TLS is legacy code that we should not support. If ELF TLS works well, stick with ELF TLS.

Thank you for your comments. 
For this support, the main purposes are:

1. Make the `emulated-tls` option work properly.
2. Make `lli` handle TLV correctly under `LoongArch`.

For the second point, it may be necessary at present. I try to remove this support from the target that supports jit, and jit will not be able to handle TLV correctly.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D141183



More information about the llvm-commits mailing list