[clang] [llvm] [PowerPC] Support local-dynamic TLS relocation on AIX (PR #66316)
Felix via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 31 06:51:29 PDT 2023
================
@@ -846,6 +859,19 @@ void PPCAsmPrinter::emitInstruction(const MachineInstr *MI) {
return MCSymbolRefExpr::VariantKind::VK_PPC_AIX_TLSGDM;
if (MO.getTargetFlags() & PPCII::MO_TLSGD_FLAG)
return MCSymbolRefExpr::VariantKind::VK_PPC_AIX_TLSGD;
+ if (MO.getTargetFlags() & PPCII::MO_TLSLD_FLAG) {
+ if (IsAIX && MO.isGlobal() && MO.getGlobal()->hasName() &&
----------------
orcguru wrote:
This will be addressed after https://github.com/llvm/llvm-project/pull/69695
https://github.com/llvm/llvm-project/pull/66316
More information about the llvm-commits
mailing list