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

Kai Luo via cfe-commits cfe-commits at lists.llvm.org
Wed Mar 20 23:37:08 PDT 2024


================
@@ -329,6 +329,12 @@ def FeatureAIXLocalExecTLS :
                    "Produce a TOC-free local-exec TLS sequence for this function "
                    "for 64-bit AIX">;
 
+def FeatureAIXSharedLibraryTLSModelHeuristic :
+  SubtargetFeature<"aix-shared-library-tls-model-heuristic",
----------------
bzEq wrote:

This should be an optimization, maybe rename to `aix-shared-library-tls-model-opt`, we perform optimization based on some heuristics.

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


More information about the cfe-commits mailing list