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

via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 7 10:13:14 PST 2023


================
@@ -2058,6 +2089,10 @@ void PPCAIXAsmPrinter::emitLinkage(const GlobalValue *GV,
     }
   }
 
+  // Do not emit the _$TLSML symbol.
+  if (GVSym->getName() == "_Renamed..5f24__TLSML[TC]")
----------------
stephenpeckham wrote:

This check (and other checks in this PR) does a string comparison, which doesn't seem efficient.  Is there a way to set a flag on the symbol to avoid the string operations? Or are you out of flag bits?

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


More information about the llvm-commits mailing list