This matches how it is done on X86.
This allows using emulated tls on windows; in MinGW environments, native tls isn't supported at the moment.
Paths
| Differential D40769
[ARM] Allow using emulated tls on platforms other than ELF ClosedPublic Authored by mstorsjo on Dec 2 2017, 1:29 PM.
Details Summary This matches how it is done on X86. This allows using emulated tls on windows; in MinGW environments, native tls isn't supported at the moment.
Diff Detail
Event TimelineHerald added subscribers: kristof.beyls, javed.absar, aemerson. · View Herald TranscriptDec 2 2017, 1:29 PM Comment Actions Please add a test case with emulated TLS on Darwin as -femulated-tls will now lower with emulated TLS on Darwin too. This revision is now accepted and ready to land.Dec 3 2017, 10:17 PM Closed by commit rL319643: [ARM] Allow using emulated tls on platforms other than ELF (authored by mstorsjo). · Explain WhyDec 4 2017, 1:09 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 125299 llvm/trunk/lib/Target/ARM/ARMISelLowering.cpp
llvm/trunk/test/CodeGen/ARM/emutls_generic.ll
|