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

Felix via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 26 23:04:04 PDT 2023


================
@@ -6,6 +6,6 @@
 #endif
 
 static __thread int y __attribute((tls_model("global-dynamic"))); // no-warning
-static __thread int y __attribute((tls_model("local-dynamic"))); // expected-error {{TLS model 'local-dynamic' is not yet supported on AIX}}
+static __thread int y __attribute((tls_model("local-dynamic"))); // expected-no-diagnostics
----------------
orcguru wrote:

Thank you for asking. I did try to change it to "no-warning", however I got error message from llvm-lit complaining that since there is no diagnostic message anymore, we should "expected-no-diagnostics". So I did this change to make llvm-lit happy. If there is other formal/better setting, I will be happy to make the change.

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


More information about the llvm-commits mailing list