[PATCH] D143619: [llvm][codegen] Disallow default Emulated TLS for RISCV

Elliott Hughes via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 13 08:38:48 PST 2023


enh added a comment.

In D143619#4119248 <https://reviews.llvm.org/D143619#4119248>, @brad wrote:

> In D143619#4115147 <https://reviews.llvm.org/D143619#4115147>, @luismarques wrote:
>
>> Does this mean that Android, OpenBSD, and Cygwin have emulated TLS support for all supported architectures other than RISC-V?
>
> For OpenBSD, yes.

For Android too.

ELF TLS is a relatively new addition to Android. riscv64 is the only target architecture added more recently than that, and there aren't yet enough devices in the field with ELF TLS for us to have looked at changing clang's default for Android to be based on API level yet. (it's probably around the 60% mark at this point, though, so it's getting to the point where we should do this.)


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D143619



More information about the llvm-commits mailing list