File tree Expand file tree Collapse file tree 1 file changed +25
-0
lines changed Expand file tree Collapse file tree 1 file changed +25
-0
lines changed Original file line number Diff line number Diff line change 1+ ; RUN: llc -tls-load-hoist=true -stop-after=tlshoist < %s | FileCheck %s
2+
3+ target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
4+ target triple = "x86_64-unknown-linux-gnu"
5+
6+ @I58561 = external thread_local global ptr
7+
8+ define i32 @I59676 () {
9+ entry:
10+ ; CHECK: @I59676
11+ ; CHECK-NOT: bitcast
12+ ; CHECK: tail call ptr @llvm.threadlocal.address.p0(ptr @I58561)
13+ ; CHECK-NEXT; tail call ptr @llvm.threadlocal.address.p0(ptr @I58561)
14+ %0 = tail call ptr @llvm.threadlocal.address.p0 (ptr @I58561 )
15+ %1 = tail call ptr @llvm.threadlocal.address.p0 (ptr @I58561 )
16+ ret i32 0
17+ }
18+
19+ ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
20+ declare nonnull ptr @llvm.threadlocal.address.p0 (ptr nonnull ) #0
21+
22+ ; uselistorder directives
23+ uselistorder ptr @llvm.threadlocal.address.p0 , { 1 , 0 }
24+
25+ attributes #0 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
You can’t perform that action at this time.
0 commit comments