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

Amy Kwan via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 26 22:05:21 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
----------------
amy-kwan wrote:

Sorry, this may be a silly question. How is this line different from the other TLS models (no-warning)?

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


More information about the llvm-commits mailing list