Revert 374373: [Codegen] Alter the default promotion for saturating adds and subs
[llvm-core.git] / test / CodeGen / ARM / tls1.ll
blob496d3339d684a6602e7f7433ddee148099245d35
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
6 ; CHECK: i(TPOFF)
7 ; CHECK: __aeabi_read_tp
9 ; PIC: __tls_get_addr
11 @i = thread_local global i32 15         ; <i32*> [#uses=2]
13 define i32 @f() {
14 entry:
15         %tmp1 = load i32, i32* @i               ; <i32> [#uses=1]
16         ret i32 %tmp1
19 define i32* @g() {
20 entry:
21         ret i32* @i