1; RUN: llc < %s -mtriple=arm-linux-gnueabi | FileCheck %s 2; RUN: llc < %s -mtriple=arm-linux-gnueabi -relocation-model=pic | \ 3; RUN: FileCheck %s --check-prefix=PIC 4 5 6; CHECK: i(TPOFF) 7; CHECK: __aeabi_read_tp 8 9; PIC: __tls_get_addr 10 11@i = thread_local global i32 15 ; <i32*> [#uses=2] 12 13define i32 @f() { 14entry: 15 %tmp1 = load i32, i32* @i ; <i32> [#uses=1] 16 ret i32 %tmp1 17} 18 19define i32* @g() { 20entry: 21 ret i32* @i 22} 23