repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Revert " [LoongArch][ISel] Check the number of sign bits in `PatGprGpr_32` (#107432)"
[llvm-project.git]
/
llvm
/
test
/
CodeGen
/
Mips
/
tls-alias.ll
blob
184283088077808eb79b56c96390d5d4a5294f90
1
; RUN: llc -march=mipsel -relocation-model=pic -disable-mips-delay-filler < %s | FileCheck %s
2
3
@foo = thread_local global i32 42
4
@bar = hidden thread_local alias i32, ptr @foo
5
6
define ptr @zed() {
7
; CHECK-DAG: __tls_get_addr
8
; CHECK-DAG: %tlsldm(bar)
9
ret ptr @bar
10
}