[opaque pointer type] Add textual IR support for explicit type parameter for global...
[oota-llvm.git] / test / CodeGen / Mips / tls-alias.ll
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 }