[llvm] [TargetLowering] Fix the problem of emulated-TLS implementation witho… (PR #101490)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 1 07:28:08 PDT 2024


================
@@ -0,0 +1,20 @@
+; RUN: llc < %s -emulated-tls -mtriple=aarch64-linux-ohos -O0 \
+; RUN:     | FileCheck -check-prefix=EMUTLS_CHECK %s
+ 
+%struct.__res_state = type { [5 x i8] }
+ 
+ at foo = dso_local thread_local global %struct.__res_state { [5 x i8] c"\01\02\03\04\05" }, align 1
+ 
+ at bar = hidden thread_local(initialexec) alias %struct.__res_state, ptr @foo
+ 
+; Function Attrs: noinline nounwind optnone uwtable
----------------
arsenm wrote:

Remove comment 

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


More information about the llvm-commits mailing list