Both Linux and LiteOS for all OpenHarmony targets use emulated TLS
~~~
Huawei RRI, OS Lab
Paths
| Differential D145224
[LLVM][OHOS] Use emulated TLS for OHOS platform ClosedPublic Authored by kpdev42 on Mar 3 2023, 1:45 AM.
Details Summary Both Linux and LiteOS for all OpenHarmony targets use emulated TLS ~~~ Huawei RRI, OS Lab
Diff Detail
Event TimelineComment Actions
What does the LiteOS triple look like, should it be tested too? This revision is now accepted and ready to land.Mar 13 2023, 7:52 AM Comment Actions Though one last thing, should MIPS be mentioned here? https://reviews.llvm.org/D145227 adds targets for MIPS as well, do you not use emulated TLS there? jrtc27 added inline comments. This revision now requires changes to proceed.Mar 13 2023, 10:13 AM
Comment Actions
Is still outstanding, otherwise no objections. Comment Actions One remaining nit as far as I can tell
Comment Actions This patch adds too many RUN lines. I don't think enumerating every combination for your target triple makes good use of the number of RUN lines. Every RUN line adds a small overhead for all users. This revision now requires changes to proceed.Apr 11 2023, 4:52 PM This revision is now accepted and ready to land.Apr 17 2023, 6:55 AM Closed by commit rGc3ec3ed2a1f3: [LLVM][OHOS] Use emulated TLS for OHOS platform (authored by kpdev42). · Explain WhyApr 17 2023, 7:36 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 512157 llvm/include/llvm/TargetParser/Triple.h
llvm/test/CodeGen/AArch64/emutls_generic.ll
llvm/test/CodeGen/ARM/emutls.ll
llvm/test/CodeGen/RISCV/emutls.ll
llvm/test/CodeGen/X86/emutls-pic.ll
llvm/test/CodeGen/X86/emutls-pie.ll
llvm/test/CodeGen/X86/emutls.ll
llvm/test/CodeGen/X86/emutls_generic.ll
|
Leave this line alone