[llvm] [clang] [PowerPC] Support local-dynamic TLS relocation on AIX (PR #66316)
Amy Kwan via llvm-commits
llvm-commits at lists.llvm.org
Thu Feb 1 21:01:16 PST 2024
================
@@ -835,6 +848,10 @@ void PPCAsmPrinter::emitInstruction(const MachineInstr *MI) {
return MCSymbolRefExpr::VariantKind::VK_PPC_AIX_TLSGDM;
if (Flag == PPCII::MO_TLSGD_FLAG || Flag == PPCII::MO_GOT_TLSGD_PCREL_FLAG)
return MCSymbolRefExpr::VariantKind::VK_PPC_AIX_TLSGD;
+ if (Flag == PPCII::MO_TLSLD_FLAG && IsAIX)
----------------
amy-kwan wrote:
Add a comment for local-dynamic on AIX, like the one we have above for global-dynamic?
https://github.com/llvm/llvm-project/pull/66316
More information about the llvm-commits
mailing list