[llvm] [clang] [PowerPC] Support local-dynamic TLS relocation on AIX (PR #66316)
Amy Kwan via cfe-commits
cfe-commits at lists.llvm.org
Wed Dec 6 22:36:32 PST 2023
================
@@ -145,9 +160,78 @@ namespace {
.addImm(0);
if (IsAIX) {
- // The variable offset and region handle are copied in r4 and r3. The
- // copies are followed by GETtlsADDR32AIX/GETtlsADDR64AIX.
- if (!IsTLSTPRelMI) {
+ if (IsTLSLDAIXMI) {
+ // The relative order between the LoadOffset at toc node, and the
+ // ._tls_get_mod node is being tuned here. It is better to put the
----------------
amy-kwan wrote:
```suggestion
// .__tls_get_mod node is being tuned here. It is better to put the
```
https://github.com/llvm/llvm-project/pull/66316
More information about the cfe-commits
mailing list