[clang] [llvm] [PowerPC] Tune AIX shared library TLS model at function level by heuristic (PR #84132)

Felix via cfe-commits cfe-commits at lists.llvm.org
Sun Mar 24 19:21:31 PDT 2024


================
@@ -80,6 +80,7 @@ class LLVM_LIBRARY_VISIBILITY PPCTargetInfo : public TargetInfo {
   bool IsISA3_0 = false;
   bool IsISA3_1 = false;
   bool HasQuadwordAtomics = false;
+  bool HasAIXShLibTLSModelHeuristic = false;
----------------
orcguru wrote:

Hi Kai, Thank you for pointing out this.

I checked the code and it seems this flag is being used by backend in various places (for example: `PPCTargetLowering::LowerGlobalTLSAddressAIX`). You referred to another example that this flag is redundant, may I know the details and I will cross check with that scenario?

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


More information about the cfe-commits mailing list