blob: ce98cc8262239e464a4e060aa26f13b0054d3373 [file] [log] [blame]
Akira Hatanaka6522a9e2012-08-22 02:51:28 +00001; RUN: llc -march=mipsel -relocation-model=pic -disable-mips-delay-filler < %s | FileCheck %s
Rafael Espindolace0a5cd2012-06-23 00:30:03 +00002
3@foo = thread_local global i32 42
4@bar = hidden alias i32* @foo
5
6define i32* @zed() {
7; CHECK: __tls_get_addr
8; CHECK-NEXT: %tlsgd(bar)
9 ret i32* @bar
10}