We supported TLS loads optimization (LLVM part) at D120000
Now we enable it in PIC mode by default.
Paths
| Differential D122866
[3/3] TLS loads optimization (hoist) AcceptedPublic Authored by xiangzhangllvm on Mar 31 2022, 10:22 PM.
Details
Diff Detail
Unit TestsFailed Event TimelineComment Actions Can we extract the LLVM change to a separate patch? The LLVM change is obvious. We can leave the clang patch in discussion. Comment Actions
Done, I split the llvm (refine) part to D122890 This revision is now accepted and ready to land.Apr 4 2022, 10:37 PM
Revision Contents
Diff 419622 clang/lib/CodeGen/CGCall.cpp
clang/test/CodeGen/X86/tls_loads.cpp
llvm/docs/LangRef.rst
llvm/lib/Transforms/Scalar/TLSVariableHoist.cpp
llvm/test/CodeGen/X86/tls-loads-control.ll
llvm/test/CodeGen/X86/tls-loads-control2.ll
llvm/test/CodeGen/X86/tls-loads-control3.ll
|