[clang] [llvm] [PowerPC] Support local-dynamic TLS relocation on AIX (PR #66316)

Felix via cfe-commits cfe-commits at lists.llvm.org
Wed Feb 7 05:25:10 PST 2024


================
@@ -145,9 +164,89 @@ 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
----------------
orcguru wrote:

This is correct. I will elaborate in the comment.

https://github.com/llvm/llvm-project/pull/66316


More information about the cfe-commits mailing list