repo.or.cz
/
llvm-core.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[ARM] Fixup the creation of VPT blocks
[llvm-core.git]
/
test
/
CodeGen
/
Mips
/
tls-alias.ll
blob
5de23103c997801b5306bbfe54364160371bbbe4
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, i32* @foo
5
6
define i32* @zed() {
7
; CHECK-DAG: __tls_get_addr
8
; CHECK-DAG: %tlsldm(bar)
9
ret i32* @bar
10
}