================
@@ -5019,6 +5019,10 @@ def maix_small_local_exec_tls : Flag<["-"], 
"maix-small-local-exec-tls">,
            "where the offset from the TLS base is encoded as an "
            "immediate operand (AIX 64-bit only). "
            "This access sequence is not used for variables larger than 32KB.">;
+def maix_shared_lib_tls_model_opt : Flag<["-"], 
"maix-shared-lib-tls-model-opt">,
+  Group<m_ppc_Features_Group>,
+  HelpText<"For shared library loaded with the main program, use heuristics to 
"
+           "tune the TLS model at the function level (AIX 64-bit only).">;
----------------
hubert-reinterpretcast wrote:

This does not describe the scope of what TLS accesses are modified (but it 
should). I have not looked through the rest of the code yet, but the answer 
should be `local-dynamic` accesses may be changed to `initial-exec`.

https://github.com/llvm/llvm-project/pull/84132
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to