view test/CodeGen/Mips/tls-alias.ll @ 33:e4204d083e25

LLVM 3.5
author Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
date Thu, 12 Dec 2013 14:32:10 +0900
parents 95c75e76d11b
children 54457678186b
line wrap: on
line source

; RUN: llc -march=mipsel -relocation-model=pic -disable-mips-delay-filler < %s | FileCheck %s

@foo = thread_local global i32 42
@bar = hidden alias i32* @foo

define i32* @zed() {
; CHECK-DAG: __tls_get_addr
; CHECK-DAG: %tlsgd(bar)
       ret i32* @bar
}